Code Monkey home page Code Monkey logo

Comments (6)

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024

I'm experiencing an issue with AppBuilder as well, but the error is somewhat different: "Cannot build project because module nativescript-plugin-firebase contains insecure code. Remove the module and try again"

That's similar to this issue for which Telerik made a platform fix - @teobugslayer, perhaps you can take a look at this plugin as well?

from nativescript-plugin-firebase.

mancku avatar mancku commented on August 23, 2024

I'm also experiencing a similar issue. I was following the Firebase branch in the Groceries app sample https://github.com/NativeScript/sample-Groceries/tree/firebase.
When I import the nativescript-plugin-firebase, from the plugins marketplace, the app builds fine, but the companion app crashes with the following error:
"Error: Failed to find module 'nativescript-plugin-firebase' relative to 'file:///app/shared/view-models/user-view-model.js'. Computed path: 'app/tns_modules/nativescript-plugin-firebase.js'. "

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024

@adrilort That's a different error than I had, but it makes me wonder if @mkoepp only had this error when deploying to the companion app. Not sure the companion app supports this usecase anyway.. does it work when deployed to a standalone app?

from nativescript-plugin-firebase.

mancku avatar mancku commented on August 23, 2024

@EddyVerbruggen due to the proxy at my office, I can't download & install the Android SDK, so I can only test my app now using the companion app, so I don't know if it works as standalone app.
Not sure if it helps or not, but the "nativescript-social-share" works fine on the companion app, so I thought the Firebase one was going to work, too.

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on August 23, 2024

Firebase relies on an external native SDK whereas SocialShare doesn't. That indeed is the difference and a case that's not supported by the companion app. It's cool though that it supports calling into arbitrary native code, as long as it's part of standard iOS/Android SDK's/frameworks.

from nativescript-plugin-firebase.

mancku avatar mancku commented on August 23, 2024

Thanks a lot for that explanation @EddyVerbruggen. I'll try to run it as standalone app when I get home. Hope it works there. I'll say something otherwise 😊

from nativescript-plugin-firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.