I have developed an App with Cordova.
On resume event I make an Ajax call. It worked perfectly on Android and iOS but yesterday I recompiled the app, and now resume event doesn't fire on iOS. I didn't change anything. The plugins are the same. The only thing that is changed is iOS version on my test device (iOS 10.3.2). On Android it is still working.
I use Cordova cli 6.5.0 and Cordova ios 4.3.1
Thanks.
Related
I'm trying to implement Razorpay checkout in my ionic application using Razorpay-cordova. After installing this plugin, ios application gets stuck on its splash screen and then gets close. Although this plugin works perfectly on Android platforms.
I have done following basic steps:
Added razorpay plugin - cordova plugin add com.razorpay.cordova --save
After this I emulate this basic app just in ios simulator - ionic cordova emulate ios
I have embedded swift libraries in Xcode the razorpay.framework.
Then imported the <razorpay-swift.h> in main.m.
Result: The app gets stuck on the splash screen for few secs and then gets close. (Only on IOS. Also tested on IOS device, results in same!).
I don't know what I'm missing here?
I'm trying to implement razorpay checkout in my ionic application using Razorpay-cordova. After installing this plugin, ios application gets stuck on its splash screen and then gets close. Although this plugin works perfectly on Android and browser platforms.
I have done following basic steps:
Started a blank app - ionic start myApp sidemenu
Added an ios platform - ionic cordova platform add ios
Than added razorpay plugin - cordova plugin add com.razorpay.cordova --save
After this I emulate this basic app just in ios simulator - ionic cordova emulate ios
Result: The app gets stuck on the splash screen for few secs and then gets close. (Only on IOS. Also tested on IOS device, results in same!).
I don't know what I'm missing here?
Embed swift libraries in Xcode(Which I forgot). Will work!
I am working with ionic,ionic serve and cordova run android both are working fine on the browser and on my android device properly. But cordova emulate ios starts the app shows the splash for like 2 seconds and then closes. I have tried updating my plugins. Then remove ios and cordova add platform ios#4.4.0 the latest version available. The problem is still there. Would be very helpful if someone can help me fivure out the issue. Thanks in advance.
Finally it worked! with, if anyone else facing the same problem. The latest version #ios4.4.0 seems to be causing the error. try with this version:
ionic cordova platform add ios#4.1.0
I phone gapped an angular app using and trying to deploy to iPhone, iPad running (10.3 and 10.2) it is not working
I am using
cordova 6.5.0
cordova-ios 4.3.1
Xcode - 8.3.2
If i deploy to iOS 9.3.5 app works fine perfectly.
If i deploy to 10.x version (10.2, 10.3) it doesn't work.
After logging into the app, i get a modal dialog which i am not able to click. (Cannot navigate to app unless i click ok on this modal dialog). Add ngTouch module but it didn't work. Strangely it works once in 10 times. Is there something i am missing? Or there are issues with cordova with iOS 10.3. I am struggling with this issue for last couple of days. Any pointers are greatly appreciated.
It works fine on android phone gapped version and also on web version (on safari)
I use the ngCordova local notification plugin in my Ionic app.
The notification appears immediately in the notification center on iOS 9.3.3, but there is no sound - neither if the app is open nor if the device is in standby.
I've tried many things and nearly read all questions on stackoverflow, but it still not work.
Versions
ionic: 1.7.16
cordova: 6.2.0
Here is what i tried in various combinations with Ionic:
ionic platform remove android
ionic platform remove ios
ionic platform add ios
ionic platform add android
ionic hooks add
ionic package build ios
I also checked if my app has permission in settings->notifications on my iOS device.
OK, i found a solution at Github. Now it works.
https://github.com/katzer/cordova-plugin-local-notifications/issues/1031#issuecomment-232391644