I am using webview_flutter package, the Webview implementation is working correctly on Android, but when running it on IOS it is stuck in loading screen like that, and the error description is like that
(PlatformException(FWFURLRequestParsingError, Failed instantiating an NSURLRequest., URL was: )
I tried to implement it on IOS with webview_flutter, but it is not working correctly
Related
I’m implementing the Cordova plugin cordova-plugin-dbmeter through the Ionic Native wrapper (#ionic-native/db-meter). It works fine on Android, but on iOS, the plugin crashed when initialized. It builds fine in Xcode, though. And all other plugins (Capacitor, Ionic Native, Cordova) works just fine.
The error message I get is:
CordovaPlugins/DBMeter.swift:5: Fatal error: Use of unimplemented
initializer ‘init(webViewEngine:)’ for class ‘CordovaPlugins.DBMeter’
And here it crashes:
I’ve tried using the plugin without the wrapper, but no success. Using plain Cordova, the plugin requires cordova-plugin-add-swift-support, but Capacitor doesn’t support it and should provide the necessary Swift support anyway.
Anyone has got this to work, or have any ideas? Getting lots of gray hair over this.
I am developing my first react-native app using react-native CLI.
I have a working setup with android simulator on PC and I just got the simulator working on my Mac using cocoapods and xcode.
The issue I am having with the iphone simulation is that I get an error about font-family.
"Unrecognized font family '$text-font-family'
I am using UI-kitten and I have confirmed that when I am using the react-native text component instead of the UI-kitten one I don't get the error.
I've been trying to find information about this error but it seems that usually a specific font can't be found.
I've tried to override the font-family used by UI-kitten by using a custom mapping described in their documentation here https://akveo.github.io/react-native-ui-kitten/docs/guides/branding#typography but the error remains.
Does anyone know of a solution to this?
I developed my application in ionic 3 and my back-end is PHP PDO , my app is working perfectly in Android and all the web services are getting called perfectly.
I have imported my code in Mac Book and generated in Xcode. when I run that code in simulator API are not getting called and shows error as HTTP failure Response from unknown URL 0 Unknown Error.
I have already added white list Plugin in iOS
I have already added CSP in my index.html file
API are getting called in Safari Browser perfectly but not in simulator and real device.
Any help is appreciated.
I have Degraded ionic web view for ios and that worked for me.
I am trying to run my ionic app as a ios native app and am getting a strange URL connection error that is preventing the data from being populated on my app's view. When I run the App in the web browser as an iphone it runs and populates fine, but when running it on the native ios it doesn't populate the page as expected using the API data. I have checked the console and the API is in fact being called, but the xcode console is printing out the following for the 2 API calls which populate the page's data:
2018-02-19 11:30:21.199933-0500 MyApp[1429:350591] NSURLConnection finished with error - code -1100
2018-02-19 11:30:21.202556-0500 MyApp[1429:350591] NSURLConnection finished with error - code -1100
I have looked and seen that code -1100 is typically a file not found type of issue, but I am unsure of how this would be happening, as it is just an API call being made to return the data, which is then being stored in an ionic card format.
You can try with below steps:
1) Delete node modules,plugins folder
2) ionic cordova platform remove ios
3) npm install
4) ionic cordova platform add ios
5) ionic cordova build ios
I am getting some issue in this Cordova plugin. I do not know where I am doing wrong.
I am not able to call my app in IOS. Android is working fine.
I register my app with mytest://
So my issue is:-
$scope.appOpen = function(){
$scope.finalData.TrustedToken=md5.createHash($scope.finalData.agentid+$sco pe.finalData.Caller+$scope.finalData.key);
var data = JSON.stringify($scope.finalData);
window.open('mytest://'+data, '_system');
}
that code is working fine in Android but in IOS not working.
If I append simple string that is opening my app and also getting that URL there in handler. But above code not able to open other app
window.open('mytest://testData', '_system');
but that code is working fine. so how can i put variable in URL.