NativeScript firebase plugin - firebase

I'm developing a mobile app using nativeScript.
When i'm trying to use nativeScript firebase plugin, nativeScript sidekick app gives the following error:
Plugin nativescript-plugin-firebase is not included in preview app on device 7D3433B1-7016-41A1-AAF7-66B7B163BB17 and will not work.
I tried to run it on preview app,
can anyone help with this.?

As the error log confirms, Preview app only works with limited set of plugins. Plugins those do not require native dependencies to be more precise. Hence Firebase plugin can't be used with Preview app, you will actually have to build the project in your local machine if you want to try this plugin.

Related

Firebase phone authentication not working after creating .apk file

I initialized a react native app with Expo Bare Workflow, installed the #react-native-firebase/app and #react-native-firebase/auth package and followed all the setup instructions from the rnfirebase.io website. When I'm in development the firebase phone number authentication works fine but when I build using EAS (Expo Application Services) the reCAPTCHA screen doesn't open and I don't get the code of confirmation.
I need help to solve this problem

Cordova ios-The default Firebase app has not yet been configured

I'm using https://www.npmjs.com/package/cordova-plugin-firebase-authentication cordova plugin to integrate firebase sign in in my cordova ios application. So I searched google and found GoogleService-Info.plist is missing in platfor/ios/app/Resources folder. I have downloaded the file in the same folder and also copied the file in xcode still the application is throwing [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add[FIRApp configure];(FirebaseApp.configure()in Swift) to your application initialization Can some one help me to solve this? Thank you.
The file GoogleService-Info.plist should not be created manually. Instead, you download this file from Firebase Console, after you can a project and an ios app inside this project. Do not forget to place the file with the root of your Cordova app

I am developing an app and would like cordova functionality when using the browser as well in this case spesifically chrome

Want to be able to deploy my app to Firebase and use Cordova functionality in the browser. Get an error that cordova_not_available when opening the firebase website.
To be able to run Cordova on the browser in this case chrome in the first place I added the browser platform to my project and the use the Cordova run command instead of serve.
But when I deploy to the website I get the Cordova not available error
You can use the cordova-browser platform to run in any modern browser. More info
Now, when you run for a browser, you need to keep in mind to
include cordova.js in your index.html
include plugins which also support a browser platform. (most plugins support ios and android, so heads up on this)
Device plugin is one such plugin which supports a browser platform.
Have a look at this video on how you can configure and run device
plugin with Cordova on chrome.
Specific to your case, more chances that you get the error cordova not available is because you might have missed adding cordova.js to your index.html file.
Cordova functionality is only available in Cordova, not in a standalone browser. See https://forum.ionicframework.com/t/pwa-how-to-access-cordova-plugins-in-pwa-web-applications/147575
Firebase Hosting hosts web sites, not Cordova apps. The latter are run as native apps on your device, providing extra native functionality to your JavaScript code. A lot of that functionality is these days also available directly in browser APIs, but it may have a different form there. You'll have to look at each piece of functionality in turn, and possibly reimplement it using native APIs for the web platform.

Test dynamic link on iOS without publishing first to the app store

My flutter project is using firebase_dynamic_link package. I followed the instruction to register both my android and ios app on the firebase console without any problem. I've tested it out on android and it's working fine, opening the app I have running.
On iOS, I was expecting it to open the app I have running on it, instead I just get redirected to a preview page link.
Is it not opening my ios app because :
It's not yet published on the app store ?
Or is it because of an error in setup?
You can disable it in Firebase Console when you create/edit the dynamic link.

VS2015 + Cordova + HockeyApp +Windows Mobile

Anyone have experience/documentation integrating the HockeyApp SDK into a VS2015 Community Windows 10 Mobile Cordova app and adding the version to the HockeyApp dashboard?
When I use HockeyApp on my Windows device, I see the following error when I try to install
This App cannot be installed over the air.
I packaged the app using Project > Store > Create App Packages and uploaded the .aapx from the AppPackages. I select no when the wizard asks if Do you want to build packages to upload to the Windows Phone
Store?
Any thoughts?
In addition, When I upload the release apk, or aapx I get the following on the HockeyApp dashboard.
No statistics found. Please integrate HockeySDK to collect analytics, crash reports, and feedback:
Note: I am using the cordova-hockeyapp-plugin for Android and IOS.
https://github.com/wnyc/cordova-plugin-hockeyapp
Right click your project and select store, then click Create App Packages. Select no as you mentioned, click next, you can set Version and output type in the page. Check ARM and click create button. You may upload .appx file to Hockeyapp. Hockeyapp will create a new project in the dashboard.
Did you sign your app for company app distribution as described here?
If yes, please upload your .aetx token to the app page, then the download page should offer both files and the installation should work.
Did you set the right App ID? Does the version exist on HockeyApp? If you set right, the crash report will appear.
This App cannot be installed over the air. error appears because an .aetx is required. An .aetx is generated using a purchased Enterprise Mobile Code Signing Certificate from Symantec Corp and AetGenerator.exe
However, if you want to use the native HockeyApp for sideloading on the device, you'll still get This App cannot be installed over the air.
Note: An .aetx is not necessary for sideloading Windows 10 mobile apps. Unfortunately, the native HockeyApp does not have the ability to download and install the app for sideloading. Instead, the app should be download and sideloaded to the device via the web ui.
Solution:
Purchase Symantec Certificate to create .aetx
or
Sideload apps using the HockeyApp web ui.
Hope this helps!

Resources