how to solve to build ionic 3 with firebase issue - firebase

ran build without fail yesterday but suddenly firebase issue has occurred. what should i set for this issue?
i tried the following
cordova.system.library.4=com.google.firebase:firebase-core:16.0.9
cordova.system.library.5=com.google.firebase:firebase-messaging:18.0.0
cordova.system.library.6=com.google.firebase:firebase-config:17.0.0
cordova.system.library.7=com.google.firebase:firebase-perf:17.0.2
link:
https://firebase.google.com/support/release-notes/android#update_-_may_31_2019
but that shows that
What went wrong:
The library com.google.firebase:firebase-iid is being requested by various other libraries at [[18.0.0,18.0.0]], but resolves to 19.0.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
so i changed messaging version that
cordova.system.library.5=com.google.firebase:firebase-messaging:19.0.0
but also shows error
What went wrong:
Execution failed for task ':app:processDebugResources'.
Failed to execute aapt
ionic cordova build android
ionic cordova run android
I did what firebase shows me to do, but it hasn't been resolved.
thanks

Take a look at this thread: https://github.com/arnesson/cordova-plugin-firebase/issues/1081
In particular #dpa99c's comment
https://github.com/arnesson/cordova-plugin-firebase/issues/1081#issuecomment-503135862
I was having the same problem since the Firebase support update (June 17, 2019) but running through those steps in #dpa99c's comment worked for me.
In addition to this, if you are building for iOS as well then you may need to update to the latest version and install pod inside your iOS platform folder if you haven't done so already.

Related

Arrow (navigation) dosen't work with ng add #angular/fire in CLI on MAC os. Kinda no response from the terminal

I am not able to move the arrow keys or even select the default project while installing the firebase in mac ,this problem seemed to work by updating the NPM version and even updating node.
But now it seems to have reappeared and navigation gets stuck past the point where we choose firebase-project.
Hey I ran into the exact problem.
I dont have the solution to fix the angular cli, however I was able to bypass this using the firebase init command.
As the ng add #angular/fire has already installed the firebase tools for the project, the firebase init command should be able to do the same trick.
Lets hope the Angular team will fix this bug asap.

Unity Android build crashes on start due Proguard

A development build works fine, but when I try a release build, it crashes immediately on start due to the Proguard.
I installed Crashlytics to try getting any error but it does not show any error (crashlytics works).
Might be important to add:
Just added Firebase and Facebook SDK.
How should the proguard.txt file look like?
Thank you in advance.

How To Solve Gradle Build Failed Error -Unity

I am using Firebase Auth. I am working in unity 2018. I have dowloaded Quickstart-unity-Master. In that I am working Auth Section. I have download the latest googlservices.json file also, but when I try to build the Firebase auth in android, it shows the error
Gradle build Error.
Error Image
I have searched in Forum it Says Java greater 8 is not supported. I am using jdk1.8.0_171.
I have donwloaded varrious unity packages 2017 Versions.
I Installed 10 Different versions. In that one versions First time it builds and apk produced. But second time I build it shows the error. Gradle Build failed.
How can I solve the gradle Error.
Thanks and Regads
This error might not be related to Firebase at all. I have multiple projects where Gradle fails for some reason. Just try what happens when you switch the build system from Gradle to Internal. This works for my projects.

Firebase functions samples do not work

Recently found out what is Firebase and started studying it. I need Firebase functions for the server side of my project so I was trying to see how they work but unsuccessfully.
They have nice "little" collection of functions examples there. I tried to start few of them like image-maker but none of them worked for me. Image maker shows me this errors while serving the local server for it:
! functions: Failed to load functions source code. Ensure that you
have the latest SDK by running npm i --save firebase-functions inside
the functions directory.
! functions: Error from emulator.
FirebaseError: Error parsing triggers: Cannot find module
'canvas-prebuilt'
I have no idea what are they talking about. I installed everything by Firebase tutorial through firebase init.
I have:
npm -v: 5.5.1
node --version: v8.9.1
I don't know how to check for Firebase version but I guess I have the latest one since I have just installed it. How can I fix this problem and actually try the functions? Can these functions samples be outdated? Where can I find the better ones?

Meteor "meteor run iOS" Unable to fetch platform ios: undefined

When I try to run meteor run iOS
I get this error:
.meteor/packages/meteor-tool/.1.1.3.1wysac9++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/cordova-scripts/cordova.sh
Unable to fetch platform ios: undefined
I can't figure out why.
I have added the device iOS to the meteor project.
It looks like the iOS platform is missing.
Make sure you run meteor add-platform ios in your project directory
I ran into the same problem after updating to the latest version of Meteor (1.1.0.2). I was able to get my android emulator up and running by deleting ~/.meteor/android_bundle. Then I had to reinstall the android sdk with meteor install-sdk android. I will admit that reinstalling the Cordova plugins for my app took a long time (~10 minutes) but that appears to only happen the first time that you run the application on the emulator.

Resources