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

Problem in ios with nativescript-vue #12

Open
okisam360 opened this issue Jan 12, 2021 · 5 comments
Open

Problem in ios with nativescript-vue #12

okisam360 opened this issue Jan 12, 2021 · 5 comments

Comments

@okisam360
Copy link

hi, in Android is good, but in iOS error:

NativeScript encountered a fatal error: Uncaught ReferenceError: NativeClass is not defined
at
../node_modules/nativescript-plugin-universal-links/plugin-universal-links.js(file: node_modules/nativescript-plugin-universal-links/plugin-universal-links.ios.js:7:0)
@tralves
Copy link

tralves commented Jan 13, 2021

I have the same problem.
I saw this error here: EddyVerbruggen/nativescript-barcodescanner#248
and it was fixed in this commit: https://github.com/EddyVerbruggen/nativescript-barcodescanner/pull/248/files

Could this work? I am going to make a test.

Edit:
That commit was already done in this project.

Now the weird part:
I built this plugin in my plugin and linked to my project with yarn link. It worked!
Then I compared my local build with the build from NPM, and they were exactly the same!!!
When I install from npm, it doesn't work.

sorry for poking you, but any idea @NathanWalker?

@tralves
Copy link

tralves commented Feb 17, 2021

While this package is not re-published, you can use my fork in package.json like this:

"nativescript-plugin-universal-links": "https://github.com/tralves/nativescript-plugin-universal-links/raw/master/dist/nativescript-plugin-universal-links.tar.gz",

@JoseChavez98
Copy link

@sebestindragos you should add @tralves fix to the package. It just saved my life.
Thanks, @tralves , nice job

@tralves
Copy link

tralves commented Feb 19, 2021

heh, I had to save my life first :)
Thanks, @JoseChavez98!

@sebestindragos
Copy link
Owner

This project is no longer maintained in this repo, it has been taken over by the NS Community
https://github.com/nativescript-community/universal-links

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