Closed Ambikapathi closed 1 month ago
It will crash when app open
What makes you think the plugin is responsible? You haven't posted a stacktrace referencing the plugin.
Once i installed cordova background lt plugin. then wkwebview plugin gives error like this -- > int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
Once i removed background lt plugin app working fine.
I have no idea what your problem is. There is no reference to anything from the plugin in int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
.
Cordova version (cordova -v): 10.0.0
Btw, the latest Cordova CLI is 11.0.0
Also, have you looked at the status of this "cordova-plugin-wkwebview-engine"
that you referenced?
There is no problem in your plugin. Only the plugin is not works with wkwebview plugin. Above issue is returned by wkwebview plugin once i merge with background lt plugin . without wkwebview app store not accepting ipa in app store.
Bypass webview entirely using native geolocation plugin #895
this is my issue for now
Customers have been using the plugin with WkWebView since at least 2017. This isn't new.
https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/548
You can search the issues here for "WkWebView".
https://github.com/transistorsoft/cordova-background-geolocation-lt/issues?q=WkWebView
I suggest you start by uninstalling deprecated plugins.
I have searched in issues. But nothing is related to me. Can you suggest which wkwebview plugin is working with background lt plugin.
I don't know anything about WkWebView.
I suggest you migrate your app to Capacitor, which uses WkWebView by default.
Did you read the deprecation notice at cordova-plugin-wkwebview-engine
??
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Your Environment
cordova -v
): 10.0.0cordova platform ls
): 9.1.1#ready
:Expected Behavior
Need to work with cordova wkwebview engine plugin
Actual Behavior
Ios app store not allowed apps without wkwebview. So background plugin not work with wkwebview plugin. It give app crash.
Steps to Reproduce
Context
Debug logs
Logs
``` PASTE_YOUR_LOGS_HERE ```