Hello everyone,I've try to Build Firebase plugin with MABS 8.0.
It build success on iOS version, but Android failed with error.Build failed with the following error: Couldn't install the Cordova plugin cordova-plugin-firebase': TypeError: Cannot read property '1.
Firebase Mobile plugin github link: https://github.com/TruewindIT/cordova-plugin-firebase-only-analytics-notifications#1.0
MABS 8.0: Android failedMABS 7.2: Both iOS and Android success to build the app
Hi,
We currently working to make this component compatible with the mabs 8.
In the alternative, you can generate your app with mabs 7.2, which is a supported version.
Thank you.
Hi Gonçalo!
We waiting the upload of component update for version MABS 8.0.
We have also this problem!
Thanks
Eduardo Benites
Hey Gonçalo!
Is there an update on when this will be available?
We are having the same issue and would like to start moving our users over to version 8.0 as soon as possible to avoid any issues when 7.2 gets deprecated on March 24th.
Appreciate you looking into it to solve it.
Joel Pickin
Hi Goncalo,
How to change the mabs version?
Hi Aneena,
To change your MABS version you need to go to Service Center -> Applications -> (Select your application) -> Distribute -> Configure(on the Native Platforms table, for the platform you want to build) -> Specific version (For MABS)
Hey, Thanks for your reply but I don't see those options in my service center.
Version: 11.50.18/Build 53309
I think you are in Service Studio.
Service Center is the web page like https://"yourDomain.outsystemscloud.com"/ServiceCenter/
You can also click gear wheel button to open the service center web too.
Oh got it, thank you so much Hang
Hi everyone,
The newest version of the plugin (1.0.11) is now compatible with both MABS 8.0 and 7.2 and you shouldn't encounter this error anymore when generating an Android build.
Cheers,
David
Hi David,here a problem arose after updating the plugin to version 1.0.11...
[2022-01-26T15:52:17.800Z] [ERROR] [Build] Note: Some input files use or override a deprecated API.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] Note: Recompile with -Xlint:deprecation for details.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] FAILURE: Build failed with an exception.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] * What went wrong:
[2022-01-26T15:52:17.800Z] [ERROR] [Build] Execution failed for task ':app:processDebugResources'.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] > In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[10.2.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] 1, 16.0.99]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
[2022-01-26T15:52:17.800Z] [ERROR] [Build]
[2022-01-26T15:52:17.800Z] [ERROR] [Build] Dependency failing: com.github.Outsystems:OneSignal-Android-SDK:f705aeed5c -> com.google.android.gms:play-services-locat
[2022-01-26T15:52:17.800Z] [ERROR] [Build] ion@[10.2.1, 16.0.99], but play-services-location version was 16.0.0.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
[2022-01-26T15:52:17.800Z] [ERROR] [Build] ifact with the issue.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] -- Project 'app' depends onto com.google.android.gms:play-services-location@16.0.0
[2022-01-26T15:52:17.800Z] [ERROR] [Build] -- Project 'app' depends onto com.google.android.gms:play-services-location@{strictly 16.0.0}
[2022-01-26T15:52:17.800Z] [ERROR] [Build] -- Project 'app' depends onto com.github.Outsystems:OneSignal-Android-SDK@f705aeed5c
[2022-01-26T15:52:17.800Z] [ERROR] [Build] -- Project 'app' depends onto com.github.Outsystems:OneSignal-Android-SDK@{strictly f705aeed5c}
[2022-01-26T15:52:17.800Z] [ERROR] [Build] -- Project 'app' depends onto com.google.android.gms:play-services-location@15.0.0
[2022-01-26T15:52:17.800Z] [ERROR] [Build] For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
[2022-01-26T15:52:17.800Z] [ERROR] [Build] endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
[2022-01-26T15:52:17.800Z] [ERROR] [Build] github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
[2022-01-26T15:52:17.800Z] [ERROR] [Build] uild.gradle file.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] * Try:
[2022-01-26T15:52:17.800Z] [ERROR] [Build] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[2022-01-26T15:52:17.800Z] [ERROR] [Build] * Get more help at https://help.gradle.org
[2022-01-26T15:52:17.800Z] [ERROR] [Build] BUILD FAILED in 1m 55s
[2022-01-26T15:52:17.800Z] [ERROR] [Build] Command failed with exit code 1: source/platforms/android/gradlew cdvBuildDebug -b source/platforms/android/build.gradle --parallel
[2022-01-26T15:52:17.800Z] [ERROR] [Build] Build failed with the following error: There was an error compiling the Cordova plugin . Check your plugin configurations and try again.
Anyone with the same problem?
Hey Felipe,
The problem is conflicts between other plugins as you can see from this part of the log:
In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[10.2.1, 16.0.99]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
I suggest that you review which version of the Google Play services your plugins add as dependencies to your build.
Cheers