Comments (12)
try calling init() function in app.component.ts rather than main.ts if you are working with nativescript angular.
from nativescript-advanced-webview.
@bradmartin i'll test on the lower apis 😄
from nativescript-advanced-webview.
Looks like an android support library bug, might try updating all your android SDKs/libs. Also, you might have to check your project and confirm you don't lock in a version of the support lib in the project or that a dependency doesn't since plugins can specify deps also.
First try updating your local sdks and lets see though.
from nativescript-advanced-webview.
I tried to update local SDK and it's still same.
from nativescript-advanced-webview.
Can you clone and run the demo and see if you get this build error? If not, then we can isolate to your project and not a bigger issue 👍
from nativescript-advanced-webview.
same problem
from nativescript-advanced-webview.
For me its working fine in android emulator. when i run it in android device it is show the same error
from nativescript-advanced-webview.
Tested 3 emulators:
- Android 5.1.1 API Level 22 -> error
- Android 6.0 API Level 23 -> error
- Android 7.1.1 API Level 25 -> works fine
from nativescript-advanced-webview.
Same error on device and emulator, I have run your provided demo but no success
from nativescript-advanced-webview.
@triniwiz - any thoughts?
from nativescript-advanced-webview.
Same here:
JS: ERROR Error: Uncaught (in promise): Error: java.lang.NullPointerException: Attempt to invoke virtual method 'void co.fitcom.fancywebview.CustomTabsServiceConnectionCallBack.setWebViewListener(co.fitcom.fancywebview.AdvancedWebViewListener)' on a null object reference
JS: co.fitcom.fancywebview.AdvancedWebView.setWebViewListener(AdvancedWebView.java:60)
JS: co.fitcom.fancywebview.AdvancedWebView.<init>(AdvancedWebView.java:34)
JS: com.tns.Runtime.callJSMethodNative(Native Method)
JS: com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
JS: com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
JS: com.tns.Runtime.callJSMethod(Runtime.java:957)
JS: com.tns.Runtime.callJSMethod(Runtime.java:941)
JS: com.tns.Runtime.callJSMethod(Runtime.java:933)
from nativescript-advanced-webview.
Well spotted, that worked!
from nativescript-advanced-webview.
Related Issues (20)
- Execution failed for task ':app:processDebugResources' HOT 7
- Fatal Crash on Android running NativeScript 4 HOT 1
- Not working on android HOT 4
- The app is not built since I installed the plugin HOT 3
- Breaks build on Android HOT 14
- pass data via URL HOT 4
- Android: co.fitcom.fancywebview.AdvancedWebViewListener is not defined HOT 1
- 'error' [TypeError: null is not an object (evaluating 'app.keyWindow')] HOT 3
- Does not Work when app is Released
- How to hide toolbar HOT 1
- How to get current URL or HTML? HOT 1
- android.content.ActivityNotFoundException: No Activity found to handle Intent HOT 1
- object dump on init (nativescript angular)
- nativescript-advanced-webview not compatible with latest NativeScript 6 HOT 21
- Error: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V" HOT 5
- WebPage Not Available Issue
- Changed the links to Nativescript Core Packages to work with NS-8
- Not loading on iOS 15 HOT 7
- Does not work with Angular on iOS HOT 3
- Angular - IOS platform missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-advanced-webview.