Comments (6)
Can you share your manifest? I'll take a look
from manifoldcordova.
I have attached , also putting entries here
{
"name": "csv",
"short_name": "csv",
"start_url": "http://cacdtl02rr2340.itservices.com:8000/CSV_WL/apps/CSV/common/index.html",
"mjs_cordova": {
"plugin_mode": "client"
},
"mjs_import_scripts": [
{ "src": "js/index.js" }
],
"mjs_api_access": [
{ "match": "http://cacdtl02rr2340.itservices.com:8000/CSV_WL/apps/CSV/common/*", "access": "cordova", "platform": "android,ios,windows" }
],
"mjs_extended_scope": ["http://cacdtl02rr2342.itservices.com:8000/CSV_WL/apps/CSV/common/*"],
// without adding mjs_access_whitelist it was not working .
"mjs_access_whitelist":[{"url":"http://cacdtl02rr2340.itservices.com:8000/*"}]
}
if I don't add ms_access_whitelist it stops loading page with error white list rejection. I created the android app and it works absolutely fine in android , manifest is same in android except I did not need to add entry for ms_access_whitelist in android version
from manifoldcordova.
mjs_extended_scope is designed to replace the more confusing mjs_access_whitelist. To be clear you saying that the extended scope basically didn't work in your iOS project, but when you want back and added the access whitelist then it did?
Also, it sounds like you are able to use the whitelist as a workaround until we get the fix deployed?
from manifoldcordova.
Yes thats correct I am using whitelist as a workaround , I debug the code little and put some logging what I have seen cordova.js injected properly on web pages but hostedapp-bridge is failing. in logs it shows hostedapp-bridge.js injected but on browser it shows only cordova.js , hostedapp-bridge,js failed due to "chordova channel not triggered". I think thats why plugins are not loading..
second suggestion only : whitelist plugin allows "file://" URL but when using manifold plugin even in middle of transactions if I want to use "file://" url then i need to put that entry in mjs_access_whitelist otherwise manifold plugin gives white list rejection error. this case is with IOS only. in Ios code under scheme we should also include file.
from manifoldcordova.
Sorry about that. We'll get fixed in the next release. Also, thanks for the work around :)
from manifoldcordova.
looks like the issue is iOS only, and in this code chunk https://github.com/manifoldjs/ManifoldCordova/blob/2c42e4f9360cf6540a75897729645e238fcd4893/src/ios/CDVHostedWebApp.m#L513
from manifoldcordova.
Related Issues (20)
- Cookies cleared on app restart in Android release build HOT 3
- Release version with fix for #82
- HostedWebApp Plugin not working for iOS HOT 1
- Visual studio process
- cordova-plugin-file doesn't work with ManifoldCordova on Windows 10
- Is there a soon coming update? HOT 6
- Error: Cannot find module '../../node_modules/elementtree' HOT 7
- can't been installed in visual studio 2015, character '<' is illegal
- Ho do I handle no Internet case on application start? HOT 1
- missing cordova.js HOT 1
- How to deal with downloads?
- View doesn't shrink when soft keyboard is shown on Android
- Support android v 8.0.0. HOT 1
- Add platform: Invalid or unexpected token HOT 2
- iOS App - Opens safari - Incase url redirections from http to https Web URL HOT 1
- ErrorUrl not working / whitelist issue HOT 2
- Webview cache not being used (iOS) HOT 4
- Superfluous injection into child iframes (iOS) HOT 2
- Does not work with the latest cordova-ios version HOT 6
- Support for WKWebView on iOS HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manifoldcordova.