I am working on ionic 3 app and i am using one Signal plugin for showing notification. And i have set that if platform is IOS then i show them a page from where user reject to receive notification and accept it.
And when i make the IOS build it will be stuck on the page where user have to select to receive notification or not and in Xcode it shows the error that
Could not signal service com.apple.WebKit.WebContent in ios 11.4.1
And when i search for solution i found something that we have to install two more plugins which are these.
cordova plugin add cordova-plugin-wkwebview-engine
cordova plugin add https://github.com/TheMattRay/cordova-plugin-wkwebviewxhrfix
and this plugin cordova-plugin-wkwebview-engine needs the cordova-ios version 5.1.1
i updated to that but till now am unable to resolve it.
i won’t found any solution from last two to three days.
Related
I was working on an ionic 4 app. When I finished adjusting, build the app for iOS again on VS Code, I switch to XCode and start building to test on my iPhone device.
But sometimes the app wasn't updated. The app I run on the browser on my laptop is the updated version, but the one finished building on my iPhone is not the updated one. Even changing the identifier won't work. (But sometimes it gets updated)
These are the code I was using for rebuilding on VSCode. After running that, I switch to XCode, adjust the signing setting and run building on my iPhone. I am sure the cookies and other temporary storage are not being used in the new app as I would need to log in again every time I build, and I use a unique identifier in every build to prevent that.
ionic cordova platform remove ios &&
ionic cordova platform add ios &&
ionic cordova plugin add cordova-plugin-ionic-webview
If anyone has encountered something similar, please let me know how to fix it. Thanks.
Cordova iOS is giving me a very hard time. I have a Cordova iOS app written in 2016 and I am handling it now.
I believe you are familiar with the following app store issues regarding UIWebView:
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted.
Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Now my application is quite huge; it has Apple Pay feature, biometrics, lots of bridge calls between website and iOS app.
I tried to update Cordova in my app and then uploaded it, but it never worked. So I find out that first the physical structure of my app was wrong, all I had in my source tree is 'src' folder which had everything. So I created "hello world" Cordova iOS project from terminal (command line) and then noticed the difference of folders and files like config.xml hooks, nodeModules etc ..
Now my solution was to create a sample helloworld app and then copy my code into ios folder (platform->iOS-> My 100 files). But it did work. I followed this link: https://github.com/apache/cordova-plugin-wkwebview-engine
And i thought if i follow following lines of code in terminal :
cordova create wkwvtest my.project.id wkwvtest
cd wkwvtest
cordova platform add ios#4
cordova plugin add cordova-plugin-wkwebview-engine
I will create a Cordova app which will have ios 4 version of Cordova and then WKWebView will be integrated in my app and then i will be able to upload this app on app store.
But even this sample application gives me app store error of deprecated UIWebView. Has anyone found the clear cut solution to this problem?
Q1: Have you ever uploaded a sample test app like hello world to the TestFlight which has Cordova ios 4.1+ or even cordova ios 5.1+ version. Because I am assuming in Cordova wkwebview plugin all things related to uiwebview has already been handled or atleast in the latest version it has been handled and we don't need to do anything else apart from installing latest Cordova ios version.
Question 2: What should I do to upload my app on app store it has cordova-ios 4.1.1 right now. I tried many possible ways. Like for eg a) created a sample cordova-ios app with latest Cordova ios 5.1.1 and copied all my source files (almost 100-500) into ios folder, removed all uiwebview instance in my code (almost 50 places), but when I search for 'uiwebview' cordova library still has almost 120 search results.
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'm trying to use cordova-plugin-file inside a APP in Ionic View, but, according to this list, it isn't supported in Ionic View.
I've 2 questions about it:
There's a way to build it before sending it to Ionic View?
When I put my APP in production via Ionic Pro, will I still have this problem?
Thanks in advance!
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