Giter Club home page Giter Club logo

Comments (9)

Helidium avatar Helidium commented on July 17, 2024 1

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.

chuqianyiding avatar chuqianyiding commented on July 17, 2024 1

Helidium, I did the following but it still did not work in ios 10.

  1. 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.
  2. I add access origin="*" to config.xml

from mobile-chrome-apps.

infomofo avatar infomofo commented on July 17, 2024 1

@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.

NicuAhmadi avatar NicuAhmadi commented on July 17, 2024

I also have the same exact problem!

from mobile-chrome-apps.

Helidium avatar Helidium commented on July 17, 2024

Yes I'm having the same problem, I ended up migrating to cordova instead...

from mobile-chrome-apps.

agrieve avatar agrieve commented on July 17, 2024

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.

chuqianyiding avatar chuqianyiding commented on July 17, 2024

@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.

ELundby45 avatar ELundby45 commented on July 17, 2024

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.

chuqianyiding avatar chuqianyiding commented on July 17, 2024

@ELundby45 It worked. Thank you.

from mobile-chrome-apps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.