Comments (6)
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.
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.
@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.
@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.
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.
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)
- M1 Issue - FirebaseSDK HOT 4
- Several "session_start" event are created on iOS 15 HOT 1
- ERROR TypeError: firebase.init is not a function.
- AdMob error: TypeError: Cannot set property 'resolve' of undefined
- Class constructor ContentView cannot be invoked without 'new'
- Android App Not working with NS 8.2. HOT 42
- A problem occurred configuring root project 'firebase'.
- microsoft login
- Android 12 background notification led to crash (PendingIntent) HOT 6
- Unable to run new deployment HOT 1
- ion
- Error trying to install @nativescript/firebase
- barcode scanning issue - iPhone 13 Pro and iPhone 13 Pro max
- Cannot read property 'ads' of undefined on NativeScript 8.2.3 HOT 1
- Plugin with id 'com.google.gms.google-services' not found. HOT 13
- SetValue of type Date Error on iOS
- Barcode Scanning issue on native script 8 with native camera control
- Mark this repository as deprecated HOT 1
- Firebase Authentication functions are giving error "No reference found.
- Firebase Messaging crash issue in Android 13 HOT 5
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-plugin-firebase.