Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation inside webview with atos payment system #35

Open
toregua opened this issue Feb 5, 2018 · 5 comments
Open

Navigation inside webview with atos payment system #35

toregua opened this issue Feb 5, 2018 · 5 comments

Comments

@toregua
Copy link

toregua commented Feb 5, 2018

First, thank you very much for this very nice plugin for flutter.

Next, i need your help because i am trying to implement payment system inside flutter_webview_plugin.

When i open the webview for example like this :

      // close any open browser (happen on hot reload)
      await flutterWebviewPlugin.close();
      _isOpen = true;

      // init server
      _server = await _createServer();
      _listenCode(_server);

      // catch onDestroy event of WebView
      flutterWebviewPlugin.onDestroy.first.then((_) {
        _close();
      });

      flutterWebviewPlugin.onBackPressed.first.then((_) {
        _close();
      });

      // launch url inside webview
      flutterWebviewPlugin.launch(url,
          clearCookies: !cookie, fullScreen: fullscreen);

It is working well and my user is redirect to flutter webview to my payment page.
But when i am on the payment page atos ask me to chose my credit card like this :

askcard

On the computer when i click on a card everything is working well and i am redirected to the next page but when i am inside the flutter webview nothing happened and the flutter console show :

D/AppTracker(13525): App Event: stop
I/zygote  (13525): Do partial code cache collection, code=123KB, data=113KB
I/zygote  (13525): After code cache collection, code=123KB, data=113KB
I/zygote  (13525): Increasing code cache capacity to 512KB
E/BoostFramework(13525): BoostFramework() : Exception_1 = java.lang.NoSuchMethodException: perfIOPrefetchStart [int, class java.lang.String]
E/BoostFramework(13525): BoostFramework() : Exception_1 = java.lang.NoSuchMethodException: perfIOPrefetchStart [int, class java.lang.String]
D/AppTracker(13525): App Event: start
I/chromium(13525): [INFO:CONSOLE(0)] "The SSL certificate used to load resources from https://sandbox-webkit.lemonway.fr will be distrusted in the future. Once distrusted, users will be prevented from loading these resources. See https://g.co/chrome/symantecpkicerts for more information.", source:  (0)
I/chromium(13525): [INFO:CONSOLE(0)] "The SSL certificate used to load resources from https://sandbox-webkit.lemonway.fr will be distrusted in the future. Once distrusted, users will be prevented from loading these resources. See https://g.co/chrome/symantecpkicerts for more information.", source: https://sandbox-webkit.lemonway.fr/myapp/dev/?moneyInToken=123456789101112131415&lang=fr (0)

Do you have any ideas please ?

@Gustik
Copy link

Gustik commented Feb 6, 2018

Maybe you need to enable javascript?

@toregua
Copy link
Author

toregua commented Feb 6, 2018

Hi @Gustik
I thought javascript was enabled by default so i just force it to enable with :

    flutterWebviewPlugin.launch(url,
        clearCookies: !cookie, fullScreen: fullscreen, withJavascript: true);

and this time I jave this in the console (maybe more explicit errors) :

D/AppTracker( 2398): App Event: stop
I/WebViewFactory( 2398): Loading com.android.chrome version 64.0.3282.137 (code 328213752)
I/cr_LibraryLoader( 2398): Time to load native libraries: 3 ms (timestamps 4540-4543)
I/chromium( 2398): [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_LibraryLoader( 2398): Expected native library version number "64.0.3282.137", actual native library version number "64.0.3282.137"
W/cr_ChildProcLH( 2398): Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true
I/cr_BrowserStartup( 2398): Initializing chromium process, singleProcess=false
I/cr_base ( 2398): Android Locale: fr_FR requires .pak files: [fr.pak]
E/chromium( 2398): [ERROR:instance.cc(49)] Unable to locate service manifest for metrics
E/chromium( 2398): [ERROR:service_manager.cc(890)] Failed to resolve service name: metrics
I/zygote  ( 2398): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote  ( 2398):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote  ( 2398):   at android.webkit.WebView com.flutter_webview_plugin.WebviewActivity.initWebview() (WebviewActivity.java:44)
I/zygote  ( 2398):   at void com.flutter_webview_plugin.WebviewActivity.onCreate(android.os.Bundle) (WebviewActivity.java:35)
I/zygote  ( 2398):   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6998)
I/zygote  ( 2398):   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1230)
I/zygote  ( 2398):   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2899)
I/zygote  ( 2398):   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:3046)
I/zygote  ( 2398):   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote  ( 2398):   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1688)
I/zygote  ( 2398):   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote  ( 2398):   at void android.os.Looper.loop() (Looper.java:164)
I/zygote  ( 2398):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6809)
I/zygote  ( 2398):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote  ( 2398):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote  ( 2398):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote  ( 2398): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/lib/arm, /data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
I/zygote  ( 2398):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote  ( 2398):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote  ( 2398):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote  ( 2398):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote  ( 2398):   at android.webkit.WebView com.flutter_webview_plugin.WebviewActivity.initWebview() (WebviewActivity.java:44)
I/zygote  ( 2398):   at void com.flutter_webview_plugin.WebviewActivity.onCreate(android.os.Bundle) (WebviewActivity.java:35)
I/zygote  ( 2398):   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6998)
I/zygote  ( 2398):   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1230)
I/zygote  ( 2398):   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2899)
I/zygote  ( 2398):   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:3046)
I/zygote  ( 2398):   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote  ( 2398):   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1688)
I/zygote  ( 2398):   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote  ( 2398):   at void android.os.Looper.loop() (Looper.java:164)
I/zygote  ( 2398):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6809)
I/zygote  ( 2398):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote  ( 2398):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote  ( 2398):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote  ( 2398):
I/zygote  ( 2398): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote  ( 2398):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote  ( 2398):   at android.webkit.WebView com.flutter_webview_plugin.WebviewActivity.initWebview() (WebviewActivity.java:44)
I/zygote  ( 2398):   at void com.flutter_webview_plugin.WebviewActivity.onCreate(android.os.Bundle) (WebviewActivity.java:35)
I/zygote  ( 2398):   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6998)
I/zygote  ( 2398):   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1230)
I/zygote  ( 2398):   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2899)
I/zygote  ( 2398):   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:3046)
I/zygote  ( 2398):   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote  ( 2398):   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1688)
I/zygote  ( 2398):   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote  ( 2398):   at void android.os.Looper.loop() (Looper.java:164)
I/zygote  ( 2398):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6809)
I/zygote  ( 2398):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote  ( 2398):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote  ( 2398):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote  ( 2398): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/lib/arm, /data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
I/zygote  ( 2398):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote  ( 2398):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote  ( 2398):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote  ( 2398):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote  ( 2398):   at android.webkit.WebView com.flutter_webview_plugin.WebviewActivity.initWebview() (WebviewActivity.java:44)
I/zygote  ( 2398):   at void com.flutter_webview_plugin.WebviewActivity.onCreate(android.os.Bundle) (WebviewActivity.java:35)
I/zygote  ( 2398):   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6998)
I/zygote  ( 2398):   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1230)
I/zygote  ( 2398):   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2899)
I/zygote  ( 2398):   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:3046)
I/zygote  ( 2398):   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote  ( 2398):   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1688)
I/zygote  ( 2398):   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote  ( 2398):   at void android.os.Looper.loop() (Looper.java:164)
I/zygote  ( 2398):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6809)
I/zygote  ( 2398):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote  ( 2398):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote  ( 2398):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote  ( 2398):
I/zygote  ( 2398): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote  ( 2398):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote  ( 2398):   at android.webkit.WebView com.flutter_webview_plugin.WebviewActivity.initWebview() (WebviewActivity.java:44)
I/zygote  ( 2398):   at void com.flutter_webview_plugin.WebviewActivity.onCreate(android.os.Bundle) (WebviewActivity.java:35)
I/zygote  ( 2398):   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6998)
I/zygote  ( 2398):   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1230)
I/zygote  ( 2398):   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2899)
I/zygote  ( 2398):   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:3046)
I/zygote  ( 2398):   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote  ( 2398):   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1688)
I/zygote  ( 2398):   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote  ( 2398):   at void android.os.Looper.loop() (Looper.java:164)
I/zygote  ( 2398):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6809)
I/zygote  ( 2398):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote  ( 2398):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote  ( 2398):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote  ( 2398): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/lib/arm, /data/app/com.android.chrome-M6dYyQhMjw0KNrOuh9vHmg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
I/zygote  ( 2398):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote  ( 2398):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote  ( 2398):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote  ( 2398):   at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote  ( 2398):   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
I/zygote  ( 2398):   at android.webkit.WebView com.flutter_webview_plugin.WebviewActivity.initWebview() (WebviewActivity.java:44)
I/zygote  ( 2398):   at void com.flutter_webview_plugin.WebviewActivity.onCreate(android.os.Bundle) (WebviewActivity.java:35)
I/zygote  ( 2398):   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6998)
I/zygote  ( 2398):   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1230)
I/zygote  ( 2398):   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2899)
I/zygote  ( 2398):   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:3046)
I/zygote  ( 2398):   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote  ( 2398):   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1688)
I/zygote  ( 2398):   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote  ( 2398):   at void android.os.Looper.loop() (Looper.java:164)
I/zygote  ( 2398):   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6809)
I/zygote  ( 2398):   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote  ( 2398):   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote  ( 2398):   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote  ( 2398):
E/BoostFramework( 2398): BoostFramework() : Exception_1 = java.lang.NoSuchMethodException: perfIOPrefetchStart [int, class java.lang.String]
E/BoostFramework( 2398): BoostFramework() : Exception_1 = java.lang.NoSuchMethodException: perfIOPrefetchStart [int, class java.lang.String]
I/zygote  ( 2398): Do partial code cache collection, code=27KB, data=30KB
I/zygote  ( 2398): After code cache collection, code=27KB, data=30KB
I/zygote  ( 2398): Increasing code cache capacity to 128KB
W/cr_media( 2398): Requires BLUETOOTH permission
I/cr_LibraryLoader( 2398): Using linker: org.chromium.base.library_loader.ModernLinker
D/AppTracker( 2398): App Event: start
W/VideoCapabilities( 2398): Unrecognized profile 65536 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 2130706433 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 524288 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 65536 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 2130706433 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 524288 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 65536 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 2130706433 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 524288 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities( 2398): Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities( 2398): Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities( 2398): Unsupported mime video/x-ms-wmv
W/VideoCapabilities( 2398): Unsupported mime video/x-ms-wmv
W/VideoCapabilities( 2398): Unsupported mime video/divx
W/VideoCapabilities( 2398): Unsupported mime video/divx311
W/VideoCapabilities( 2398): Unsupported mime video/divx4
W/VideoCapabilities( 2398): Unsupported mime video/mp4v-esdp
I/VideoCapabilities( 2398): Unsupported profile 4 for video/mp4v-es
D/NetworkSecurityConfig( 2398): No Network Security Config specified, using platform default
W/cr_CrashFileManager( 2398): /data/user/0/com.yourcompany.sortiesportmobile/cache/WebView/Crash Reports does not exist or is not a directory
I/chromium( 2398): [INFO:CONSOLE(0)] "The SSL certificate used to load resources from https://sandbox-webkit.lemonway.fr will be distrusted in the future. Once distrusted, users will be prevented from
loading these resources. See https://g.co/chrome/symantecpkicerts for more information.", source:  (0)
I/chromium( 2398): [INFO:CONSOLE(0)] "The SSL certificate used to load resources from https://sandbox-webkit.lemonway.fr will be distrusted in the future. Once distrusted, users will be prevented from
loading these resources. See https://g.co/chrome/symantecpkicerts for more information.", source: https://sandbox-webkit.lemonway.fr/myapp/dev/?moneyInToken=1234567890019398383&lang=fr (0)
I/zygote  ( 2398): Do partial code cache collection, code=49KB, data=50KB
I/zygote  ( 2398): After code cache collection, code=49KB, data=50KB
I/zygote  ( 2398): Increasing code cache capacity to 256KB
I/X509Util( 2398): Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
W/chromium( 2398): [WARNING:render_frame_host_impl.cc(2728)] OnDidStopLoading was called twice.

@lejard-h
Copy link
Collaborator

lejard-h commented Feb 6, 2018

Indeed javascript is enable by default.

it seems to be an SSL issue with the webview.
Are you sure you can use Atos in an unsecure environment ?

You are probably using a server inside the flutter app and serving on localhost, did you configure Atos to redirect on the correct url?

@Xbobo5530
Copy link

I am getting a similar error, some URLs work and some don't
Trust anchor for certification path not found.

Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

this is the error I get

@Xbobo5530
Copy link

Indeed javascript is enable by default.

it seems to be an SSL issue with the webview.
Are you sure you can use Atos in an unsecure environment ?

You are probably using a server inside the flutter app and serving on localhost, did you configure Atos to redirect on the correct url?

I think this is the problem, but i have no idea how to go about fixing it.
This is the error i get:
Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

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

No branches or pull requests

4 participants