Comments (9)
I also need this resolved...
I found out that ios10 requires additional entries in Content-Security-Policy.
http://stackoverflow.com/questions/38410159/cordova-app-hanging-during-startup-on-ios-10-beta
Tried it without success, maybe you can try it and post your results.
from mobile-chrome-apps.
Helidium, I did the following but it still did not work in ios 10.
- I add the meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file: data: blob: chrome-extension: gopher: gap:; connect-src *; media-src *; style-src file: data: blob: chrome-extension: gopher: gap: 'unsafe-inline';" to index.html.
- I add access origin="*" to config.xml
from mobile-chrome-apps.
@agrieve Do you have a recommendation on best practices for such a migration?
Also, you said most plugins are usable- the ones I'm using are cordova-plugin-chrome-apps-identity and cordova-plugin-chrome-apps-system-storage - should i expect those to work outside the context of a chrome mobile app using just a normal cordova application?
Any guidance you could provide here would be helpful.
Can you provide an example of a repo where a vanilla cordova app is leveraging a mobile chrome app plugin like .identity or .storage just so I have a reference to work off of? Thanks!
from mobile-chrome-apps.
I also have the same exact problem!
from mobile-chrome-apps.
Yes I'm having the same problem, I ended up migrating to cordova instead...
from mobile-chrome-apps.
I think moving to Cordova directly is the right way forward here. You can
still use most mobile-chrome-apps plugins from a regular cordova project.
On Fri, Sep 23, 2016 at 5:42 AM, Helidium [email protected] wrote:
Yes I'm having the same problem, I ended up migrating to cordova instead...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#610 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABTljPyG8WjhUbvIlg1RQN_vGFKlWiMZks5qs58igaJpZM4KDGVk
.
from mobile-chrome-apps.
@Helidium , do you still keep all the plugins in plugins folder when you migrate to cordova?
I succeed in android but fail in ios.
I did "cordova platform add ios" and open it in xcode. The problem comes from plugin cordova-plugin-chrome-apps-navigation. I got error "arc semantic issue no visible @interface for UIView" for ChromeNavigation.m
from mobile-chrome-apps.
I was able to get a chrome mobile app to work on iOS 10 by adding a Content-Security-Policy override in manifest.mobile.json
ie:
"csp": "default-src file: data: blob: chrome-extension: gopher: gap:; connect-src * gopher: ws:; media-src *; style-src file: data: blob: chrome-extension: gopher: gap: 'unsafe-inline';"
The particular thing that got things working for me: connect-src * gopher:;
from mobile-chrome-apps.
@ELundby45 It worked. Thank you.
from mobile-chrome-apps.
Related Issues (20)
- Chome.bluetooth/chrome.bluetoothsocket API not responding
- Video tutorial on how to Run Chrome Apps on Mobile Using Apache Cordova
- No background scripts found in your manifest.json file
- ChromeSocketsTcp.h not found in iOS project
- Getting only blank screen in iOS
- Update Cordova (android command depreciated) HOT 1
- not installing
- Ran into "Android SDK not found" error even though SDK is installed and `ANDROID_HOME` points to it HOT 4
- mobile app HOT 2
- Chrome Android 6.0 star os mobile app
- Whole document visible black in android HOT 1
- [QUESTION] Where I can find the CI service?
- background-attachment: fixed does not work on Android Chrome
- HID Support
- iOS - window.open() opens new window(tab) but back button is disabled HOT 1
- creating an online app
- ERROR: A problem occurred evaluating root project 'ZZAPP'.
- Bottom toolbar affect the normal operation of the web page
- node pull unresponsive
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 mobile-chrome-apps.