The mobile application that has dependencies on an application using a cloud messaging plugin cannot be built/generated into an APK.
Below are the picture of the error
Is this normal and indeed the case? Or is there an error in the configuration?Thanks you in advance
Hi Justin,
I have not across a situation like this but I have few suggestions to try here :
1. You can check this link
2. Please check this post as I think there are some steps mentioned in comments in this post that can be tried at your end.
Hope this helps.
Thanks,
Neha
Hi @Neha Sheikh
There are 2 cases
I have mobile app A that utilizes a cloud messaging plugin for receiving notifications. This application is properly configured, and its app can be generated without any issues.
Then, I have mobile app B, which has dependencies on mobile app A. But, when I try to generate mobile app B
In the second case, I have mobile app A, which has dependencies on web app B. Web app B utilizes a cloud messaging plugin for sending notifications to users. However, when I generate mobile app A
Thank you
Hello Justin,
Regarding the first scenario with the two mobile apps, A & B: what kind of dependencies does app B have on app A?
A mobile app depending on another app is not a usual or expected scenario; it could lead to tricky situations. Can the common "logic" be separated into a module or library?
Regarding the second scenario, what is the mobile app consuming from web app B? More specifically, is web app B using client actions from the plugin or server actions?
Lastly, what's the version of the Cloud Messaging Plugin?
Best regards
Hi @Marta Carlos
Scenario one, mobile app B consumes client actions from app A.
Scenario two, I consume entities from web app B to display data in my mobile app.
Regardless of the method/scenario I use to consume another app, the point I want to convey is why does the mobile application fail to generate when consuming another app(web/mobile) that uses a cloud messaging plugin? Is this case normal, and is this indeed how the plugin operates?
In scenario two, my web app uses server actions from this plugin (cloud messaging plugin), for the purpose of sending notifications to the mobile app.
I am using the latest version of the cloud messaging plugin, which is 4.0.0.
Same Situation Here.
We tested with a newly built app only including this plugin and got the same error message:
It is generated using MABS 10.
Is there no solution to this case?Thank you
This can be resolved if :Data required by app-A from app-B can be made available through another service module to avoid direct strong dependency. An ideal practice would be to have data on a separate core service module which is independent of consumer apps.
Two different mobile app forming a dependency is not a good architecture practice; you need to refactor the architecture & keep data available via service layers to achieve the sync of data between two different appilcations.
Good Luck