bradmartin / nativescript-advanced-webview

NativeScript plugin for Chrome CustomTabs on Android and SafariViewController on iOS.
Other
60 stars 28 forks source link

Not working on android #33

Closed 7ammer closed 6 years ago

7ammer commented 6 years ago

I cannot get nativescript-advanced-webview to work on android. It does however work on IOS. I am using the Vue.js varient of nativescript.

Here is a working test of the issue: https://play.nativescript.org/?template=play-vue&id=Ra31Tj&v=2

CarlosTolenk commented 6 years ago

It's not working for me either. I'm doing the implementation with Angular, and when I start it in the main.ts it throws me an error about the init function. I do not know what the problem really is, I tried to put the init inside the app.component and it happens exactly the same.

triniwiz commented 6 years ago

@7ammer it will not work on the play site because it uses a custom aar and @CarlosTolenk you need to put that init in the main.ts for angular the app component is a bit late because it takes time to connect to the service

CarlosTolenk commented 6 years ago

desktop screenshot I tried to put in the main.ts and it throws me an error at the moment of building the app, and this happened after adding the plugin .. What is this?

triniwiz commented 6 years ago

After you removed the dimensions did you remove the platforms directory in the app root so you will have a fresh build ?