Giter Site home page Giter Site logo

Comments (10)

jcesarmobile avatar jcesarmobile commented on August 23, 2024 3

Closing as every time I've seen this problem was because of missing gap: in the index.html and there was no response after I asked if it was present. So I'll assume it wasn't

from cordova-plugin-dialogs.

magancete avatar magancete commented on August 23, 2024

I have the same issue any idea?

from cordova-plugin-dialogs.

matb33 avatar matb33 commented on August 23, 2024

It's because this line hasn't been updated for Cordova 7 yet:
https://github.com/apache/cordova-plugin-dialogs/blob/master/plugin.xml#L38
The target path needs to be app/src/main/res/xml/config.xml

I falsely assumed that any Cordova-supported plugin would have been updated as part of this breaking change (https://cordova.apache.org/announcements/2017/12/04/cordova-android-7.0.0.html). This plugin appears to have been overlooked. Sadly, other Cordova-supported plugins are in the same boat, e.g. https://github.com/apache/cordova-plugin-device/blob/master/plugin.xml#L39

from cordova-plugin-dialogs.

r2moon avatar r2moon commented on August 23, 2024

@matb33 this issue is opened for iOS, not for android. it works fine on android device.

from cordova-plugin-dialogs.

r2moon avatar r2moon commented on August 23, 2024

I tried setting config.xml file, but same issue.

from cordova-plugin-dialogs.

janpio avatar janpio commented on August 23, 2024

@matb33 Feel free to create a PR with these changes for all plugins that are still affected - we would be happy to accept any changes we overlooked back then.

from cordova-plugin-dialogs.

janpio avatar janpio commented on August 23, 2024

@ryuheimat @magancete So you are reporting that the alert dialog does not appear when it is triggered but only after you leave and re-enter the app - correct?

Please post all you versions:
Cordova CLI, Cordova iOS, plugin, iOS and iOS device you are testing on.
Can this be reproduced in the simulator as well?

from cordova-plugin-dialogs.

r2moon avatar r2moon commented on August 23, 2024

Cordova: ^8.1.2
Cordova iOS: ^4.5.5
plugins: phonegap-parse-plugin, cordova-plugin-crosswalk-webview(^2.4.0), cordova-plugin-geolocation(^1.0.1), cordova-plugin-whitelist(^1.3.3)

I tested on both simulator and device, however results on all devices were same.
Obviously, I tested on iPhone6 Simulator and iPhone7 device.

from cordova-plugin-dialogs.

janpio avatar janpio commented on August 23, 2024

What iOS version were the device and simulator running?

Can you create a reproduction project that only includes this plugin and minimal code to reproduce the problem and put it on Github please?

from cordova-plugin-dialogs.

jcesarmobile avatar jcesarmobile commented on August 23, 2024

you have to add gap: to your Content-Security-Policy meta tag

from cordova-plugin-dialogs.

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.