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

NS PREVIEW don't working properly #10503

Closed
3 tasks done
AAlex-11 opened this issue Mar 30, 2024 · 8 comments
Closed
3 tasks done

NS PREVIEW don't working properly #10503

AAlex-11 opened this issue Mar 30, 2024 · 8 comments

Comments

@AAlex-11
Copy link

AAlex-11 commented Mar 30, 2024

Issue Description

emulator is working fine

drawer-03312024_005420

but NS Preview is not working
https://preview.nativescript.org/session/325b0c3571a30c5e2075c7acfd4e8dbf08735ad9d168d7669e0196ed3545ca6c

I use this project https://github.com/nativescript-community/ui-drawer

Reproduction

No response

Relevant log output (if applicable)

I see on phone white screen only, first screen working, but Drawer is nothing

drawer-03312024_011649

Environment

No response

Please accept these terms

@AAlex-11 AAlex-11 added the bug-pending-triage Reported bug, pending triage to confirm. label Mar 30, 2024
@AAlex-11 AAlex-11 changed the title Ns previre don't working properly NS PREVIEW don't working properly Mar 30, 2024
@rigor789
Copy link
Member

Without a reproduction it's hard to tell what's going on, please include one if you are still having this issue.

@rigor789 rigor789 added needs more info and removed bug-pending-triage Reported bug, pending triage to confirm. labels Apr 11, 2024
@AAlex-11
Copy link
Author

@rigor789 please use this code for testing https://github.com/Alex-1347/NativeScript-DraverDemo

@rigor789
Copy link
Member

rigor789 commented Apr 15, 2024

@rigor789 please use this code for testing https://github.com/Alex-1347/NativeScript-DraverDemo

I just tried this via ns preview and I can see the drawers.

screen-20240415-175713.mp4

@AAlex-11
Copy link
Author

Thank you, Interesting... This means something going wrong in my side, most NativeScript project working fine in my phone with NS Preview, but this project - don't working. We will close this issue, but if other developers will send complains for NS Preview again and agian, maybe you would more carefully investigate this issue.

@rigor789
Copy link
Member

@AAlex-11 can you tell me a few details:

  • version of NativeScript Preview app
  • android version of the device you are running on (and device type perhaps)
  • version of the preview - cli (printed in the header when you run ns preview, ie. {N} NativeScript Preview 2.0 [v1.0.13])

Also try ns clean and ns preview again, see if that makes a difference.

@AAlex-11
Copy link
Author

Nativescript Preview 2.0.6 on phone
Device connected: M2006C3LG [android: 2.0.6 (28)]
Phone type - Xaomi Redmi 9A
{N} NativeScript Preview 2.0 [v1.0.13]

However, My Application (if I copy APK to phone manually) working fine

Office-04152024_221023

@AAlex-11
Copy link
Author

package.json
{
"name": "myvaultstart",
"main": "./src/main.ts",
"version": "1.0.0",
"private": true,
"dependencies": {
"@angular/animations": "~16.2.0",
"@angular/common": "~16.2.0",
"@angular/compiler": "~16.2.0",
"@angular/core": "~16.2.0",
"@angular/forms": "~16.2.0",
"@angular/platform-browser": "~16.2.0",
"@angular/platform-browser-dynamic": "~16.2.0",
"@angular/router": "~16.2.0",
"@nativescript-community/arraybuffers": "^1.1.5",
"@nativescript-community/ui-drawer": "^0.1.27",
"@nativescript-community/ui-svg": "^0.1.33",
"@nativescript/angular": "^16.0.0",
"@nativescript/core": "~8.6.0",
"@nativescript/secure-storage": "^3.0.3",
"@nativescript/theme": "~3.0.2",
"nativescript-clipboard": "^2.1.1",
"platform": "^1.3.6",
"rxjs": "~7.8.0",
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~16.2.0",
"@angular/compiler-cli": "~16.2.0",
"@nativescript/android": "8.6.2",
"@nativescript/preview-cli": "1.0.13",
"@nativescript/types": "~8.6.0",
"@nativescript/webpack": "~5.0.18",
"@ngtools/webpack": "~16.2.0",
"@types/platform": "^1.3.6",
"typescript": "~5.1.6"
},
"readme": "MyVaultStart"
}

@rigor789
Copy link
Member

That seems to be a different issue, a native package from one of the plugins (I presume @nativescript/secure-storage from the error) is not pre-installed in the Preview app, so that's normal:

image
from https://preview.nativescript.org/#faq

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

No branches or pull requests

2 participants