Comments (10)
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.
I have the same issue any idea?
from cordova-plugin-dialogs.
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.
@matb33 this issue is opened for iOS, not for android. it works fine on android device.
from cordova-plugin-dialogs.
I tried setting config.xml file, but same issue.
from cordova-plugin-dialogs.
@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.
@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.
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.
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.
you have to add gap:
to your Content-Security-Policy meta tag
from cordova-plugin-dialogs.
Related Issues (20)
- navigator.notification.prompt "longer" text on ios HOT 2
- Alert notification does not working HOT 3
- Use UIAlertController instead of UIAlertView on iOS HOT 1
- Android Dialog code needs cleanup HOT 1
- Updating Documentation to reflect Dialog Plugin API behavior
- Prompt don't close until callback? HOT 1
- Feature request: programmatically close popup HOT 1
- Don't specify light theme on Android
- Dialog buttons alignment is broken HOT 1
- RTL Support
- Prompt dialog won't focus nor show keyboard on Android until manually tapping the text input. HOT 2
- All audio comes out of the earpiece instead when notifications are used
- UIAlertView is deprecated HOT 2
- Wy isn't feature (GH-128), aka dialog dismissal, included in latest release HOT 1
- Race condition with activityStart/activityStop can leave dialog on screen [Android]
- 'UIAlertView' is deprecated when installing cordova-plugin-dialogs HOT 10
- This plugin makes Cordova app device ready not firing HOT 6
- After removing and re-adding plugin, DeviceReady won't fire HOT 2
- notification.alert not working on cordova run browser
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 cordova-plugin-dialogs.