Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Crosswalk webview certificates error on latest version (23+) #129

Open
ahadcove opened this issue Apr 12, 2017 · 5 comments
Open

Crosswalk webview certificates error on latest version (23+) #129

ahadcove opened this issue Apr 12, 2017 · 5 comments

Comments

@ahadcove
Copy link

I have a separate Ionic 2 app that I am trying to merge to my other Ionic 2 app where both are using crosswalk-webview. The problem that I am facing is that on the first (working) app it only deals with webrtc, so no http calls or anything else for that matter and works out of the box with webview.

Now the app I am trying to convert it to uses many http requests, and I notice that with the latest webview I get a Request was denied for security error when making any request.

I've heard of the certificate plugin here (danjarvis/cordova-plugin-crosswalk-certificate#1 (comment)) and attempted to use it, but this will not help me either because I need to use the latest webview or my app will not run correctly. The certificates uses webview 18+ and I need 23+.

Are there any other alternatives or is there anything that I am missing?

@amalinaaziz
Copy link

any updates on the issue?

@ahadcove
Copy link
Author

I actually got by it in a really weird way. If I can find my old code I can give you a better answer. I did get by it though

@amalinaaziz
Copy link

Hi, are you able to find the code? Would appreciate it. Thanks

@FelipeMiranda
Copy link

Any update?

@ahadcove
Copy link
Author

ahadcove commented Nov 29, 2017

Hey, sorry for the late response.
No, I couldn't find any notes or anything I left for myself sadly.
I've moved away from Ionic a while ago so I have no idea what the fix was

Here is my config.xml in case this may give you all a better clue though

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.ahadcove.myapp2328593" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
  <name>My App</name>
  <description>An awesome Ionic/Cordova app.</description>
  <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
  <content src="index.html"/>
  <access origin="*"/>
  <allow-navigation href="http://ionic.local/*"/>
  <allow-navigation href="http://192.168.10.117:8100"/>
  <allow-navigation href="*"/>
  <allow-intent href="http://*/*"/>
  <allow-intent href="https://*/*"/>
  <allow-intent href="tel:*"/>
  <allow-intent href="sms:*"/>
  <allow-intent href="mailto:*"/>
  <allow-intent href="geo:*"/>
  <allow-intent href="https://my.site.net/*"/>
  <platform name="android">
    <allow-intent href="market:*"/>
  </platform>
  <platform name="ios">
    <allow-intent href="itms:*"/>
    <allow-intent href="itms-apps:*"/>
  </platform>
  <preference name="webviewbounce" value="false"/>
  <preference name="UIWebViewBounce" value="false"/>
  <preference name="DisallowOverscroll" value="true"/>
  <preference name="android-minSdkVersion" value="16"/>
  <preference name="BackupWebStorage" value="none"/>
  <preference name="SplashMaintainAspectRatio" value="true"/>
  <preference name="FadeSplashScreenDuration" value="300"/>
  <preference name="SplashShowOnlyFirstTime" value="false"/>
  <feature name="StatusBar">
    <param name="ios-package" onload="true" value="CDVStatusBar"/>
  </feature>
  <plugin name="ionic-plugin-keyboard" spec="~2.2.1"/>
  <plugin name="cordova-plugin-console" spec="1.0.5"/>
  <plugin name="cordova-plugin-statusbar" spec="2.2.1"/>
  <plugin name="cordova-plugin-device" spec="1.1.4"/>
  <plugin name="cordova-plugin-splashscreen" spec="~4.0.1"/>
  <plugin name="cordova-sqlite-storage" spec="~2.0.2"/>
  <plugin name="cordova-plugin-nativeaudio" spec="~3.0.9"/>
  <plugin name="cordova-plugin-whitelist" spec="~1.3.1"/>
</widget>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants