-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
TypeError: Cannot read property 'toDevicePixels' of undefined #10
Comments
My package.json dependencies
|
@ChaDmiS might be due to N 8.4 changes. Can you test with N 8.4? |
Ok. I've updated ns to 8.4 and botomsheet earned on Android.
And animation is cancelled. |
@ChaDmiS sorry for the late reply. Latest build should fix this |
Hello!
I install plugin and try it on iOS and Android. It works on iOS successfully. But on Android I get error:
System.err: An uncaught Exception occurred on "main" thread.
System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function
System.err: TypeError: Cannot read property 'toDevicePixels' of undefined
System.err: File: (file: app/webpack:/vvf/node_modules/@nativescript-community/gesturehandler/gesturehandler.android.js:273:46)
System.err:
System.err: StackTrace:
System.err: ./node_modules/@nativescript-community/gesturehandler/gesturehandler.android.js(file: app/webpack:/vvf/node_modules/@nativescript-community/gesturehandler/gesturehandler.android.js:273:46)
System.err: at webpack_require(file: app/webpack:/vvf/webpack/bootstrap:19:0)
System.err: at ./node_modules/@nativescript-community/ui-persistent-bottomsheet/index.js(file:///data/data/org.nativescript.exampleapp/files/app/vendor.js:3891:96)
System.err: at webpack_require(file: app/webpack:/vvf/webpack/bootstrap:19:0)
System.err: at ./app/app.ts(file:///data/data/org.nativescript.exampleapp/files/app/bundle.js:20:107)
System.err: at webpack_require(file: app/webpack:/vvf/webpack/bootstrap:19:0)
System.err: at webpack_exec(file:///data/data/org.nativescript.exampleapp/files/app/bundle.js:3824:39)
System.err: at (file:///data/data/org.nativescript.exampleapp/files/app/bundle.js:3825:221)
System.err: at webpack_require.X(file: app/webpack:/vvf/webpack/runtime/startup entrypoint:6:0)
System.err: at (file:///data/data/org.nativescript.exampleapp/files/app/bundle.js:3825:47)
System.err: at (file:///data/data/org.nativescript.exampleapp/files/app/bundle.js:3830:3)
System.err: at require(:1:266)
I don't understand, what it is means! Please, help!
The text was updated successfully, but these errors were encountered: