Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Incompatibility issue with other Firebase plugin (Analytic, Crashlytic) in MABS 8.0

$
0
0

Hello OS Forums,

I want to ask is the newest version of Firebase Mobile plugin for the MABS 8.0 builds is not compatible with any other official OS supported Firebase plugins (such as Perfomance Monitoring, Analytics)?

Because we've tried to re-build on our currently on-boarding mobile application it failed to generate the native platform with the newest MABS 8.0. We had a requirement to implement Firebase performance monitoring feature to our mobile app. And then because MABS 7.2 will be deprecated at the end of this month we have to upgrade to the latest one, but unfortunately we found this issue. The build log detail:

[2022-03-09T07:31:54.794Z] [ERROR] [Build] Note: Some input files use or override a deprecated API.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] Note: Recompile with -Xlint:deprecation for details.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] source/platforms/android/app/src/main/java/org/apache/cordova/firebase/FirebasePlugin.java:808: error: cannot find symbol
[2022-03-09T07:31:54.794Z] [ERROR] [Build]           final boolean activated = FirebaseRemoteConfig.getInstance().activateFetched();
[2022-03-09T07:31:54.794Z] [ERROR] [Build]                                                                       ^
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   symbol:   method activateFetched()
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   location: class FirebaseRemoteConfig
[2022-03-09T07:31:54.794Z] [ERROR] [Build] source/platforms/android/app/src/main/java/org/apache/cordova/firebase/FirebasePlugin.java:858: error: cannot find symbol
[2022-03-09T07:31:54.794Z] [ERROR] [Build]           byte[] bytes = FirebaseRemoteConfig.getInstance().getByteArray(key);
[2022-03-09T07:31:54.794Z] [ERROR] [Build]                                                            ^
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   symbol:   method getByteArray(String)
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   location: class FirebaseRemoteConfig
[2022-03-09T07:31:54.794Z] [ERROR] [Build] source/platforms/android/app/src/main/java/org/apache/cordova/firebase/FirebasePlugin.java:895: error: cannot find symbol
[2022-03-09T07:31:54.794Z] [ERROR] [Build]           settings.put("developerModeEnabled", remoteConfigInfo.getConfigSettings().isDeveloperModeEnabled());
[2022-03-09T07:31:54.794Z] [ERROR] [Build]                                                                                    ^
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   symbol:   method isDeveloperModeEnabled()
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   location: class FirebaseRemoteConfigSettings
[2022-03-09T07:31:54.794Z] [ERROR] [Build] source/platforms/android/app/src/main/java/org/apache/cordova/firebase/FirebasePlugin.java:916: error: cannot find symbol
[2022-03-09T07:31:54.794Z] [ERROR] [Build]               .setDeveloperModeEnabled(devMode);
[2022-03-09T07:31:54.794Z] [ERROR] [Build]               ^
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   symbol:   method setDeveloperModeEnabled(boolean)
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   location: class Builder
[2022-03-09T07:31:54.794Z] [ERROR] [Build] source/platforms/android/app/src/main/java/org/apache/cordova/firebase/FirebasePlugin.java:917: error: cannot find symbol
[2022-03-09T07:31:54.794Z] [ERROR] [Build]           FirebaseRemoteConfig.getInstance().setConfigSettings(settings.build());
[2022-03-09T07:31:54.794Z] [ERROR] [Build]                                             ^
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   symbol:   method setConfigSettings(FirebaseRemoteConfigSettings)
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   location: class FirebaseRemoteConfig
[2022-03-09T07:31:54.794Z] [ERROR] [Build] source/platforms/android/app/src/main/java/org/apache/cordova/firebase/FirebasePlugin.java:931: error: cannot find symbol
[2022-03-09T07:31:54.794Z] [ERROR] [Build]           FirebaseRemoteConfig.getInstance().setDefaults(defaultsToMap(defaults));
[2022-03-09T07:31:54.794Z] [ERROR] [Build]                                             ^
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   symbol:   method setDefaults(Map<String,Object>)
[2022-03-09T07:31:54.794Z] [ERROR] [Build]   location: class FirebaseRemoteConfig
[2022-03-09T07:31:54.794Z] [ERROR] [Build] Note: Some input files use or override a deprecated API.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] Note: Recompile with -Xlint:deprecation for details.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] Note: Some input files use unchecked or unsafe operations.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] Note: Recompile with -Xlint:unchecked for details.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] 6 errors
[2022-03-09T07:31:54.794Z] [ERROR] [Build] FAILURE: Build failed with an exception.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] * What went wrong:
[2022-03-09T07:31:54.794Z] [ERROR] [Build] Execution failed for task ':app:compileDebugJavaWithJavac'.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] > Compilation failed; see the compiler error output for details.
[2022-03-09T07:31:54.794Z] [ERROR] [Build] * Try:
[2022-03-09T07:31:54.794Z] [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-03-09T07:31:54.794Z] [ERROR] [Build] * Get more help at https://help.gradle.org
[2022-03-09T07:31:54.794Z] [ERROR] [Build] BUILD FAILED in 2m 36s
[2022-03-09T07:31:54.794Z] [ERROR] [Build] Command failed with exit code 1: source/platforms/android/gradlew cdvBuildDebug -b source/platforms/android/build.gradle --parallel
[2022-03-09T07:31:54.809Z] [ERROR] [Build] Build failed with the following error: There was an error compiling the Cordova plugin main/java/org/apache/cordova/firebase/FirebasePlugin.java:808: error: cannot find symbol. Check your plugin configurations and try again.

Any clue or workaround to consolidate this issue? We've been using this plugin for the past year and it's been a solid work, but now we need the performance monitor feature for our customer and keep the push notification feature as well.

Thanks before.


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>