Hi Team,
Im generating the new build on MABS 9.0 version its shows the error for android build :
Couldn't install the cordova plugin cordova-plugin-firebase.
In error log: Failed to install 'cordova-plugin-firebase': TypeError: Cannot read property '1'
Thanks in advance
Soundarya
Hi Soundarya,thanks for your email.As also mentioned in my reply you're using an old version of the Forge Component FirebaseMobile.The new version 1.0.11 is using the "https://github.com/Product-League/cordova-plugin-firebase-only-analytics-notifications#1.1" instead of the "......Truewind......"....I'm using the latest versoin myself in MABS 9.0, and this should not be an issue.Best regards,Jeroen Vormer
Hi Soundarya,
Please confirm that the URL for your Cordova plugin is public. The private Cordova Plugin Directory caused me to run into a similar problem.
Just for your information,Using_cordova_plugins/
Thanks,
Narendra
hi Narendra Maheshwari ,
Thanks for the response.
A plugin from a git repository:
{ "plugin": { "url": "https://example.com/sampleplugin/sampleplugin.git#1.10" }}
We are using like this in extensibility configuaration. How can i make it Public. could you please suggest it would be really helpful.
You can't make someone's Git repository as public.
You can use this plugin URL:
"plugin": { "url":"https://github.com/wwdemoteam/outsystems-phonegap-plugin-push.git#v3.0.1"
Hi Narendra,
I will try this suggested URL and let you immediately about the result.
As of now our iOS build generated successfully we are facing issues with android only. So once I changed this plugin URL it create issues on iOS and android in existing flow of ours.
After using this suggested URL build not generated for both platform.
Thanks
By right it should not create any issues. You can try to see Build Log to find the actual cause or any impact.
Place where you can see it.
Hi Narendra Maheshwari
I got the below issues in log file.Kindly suggest How could i resolve this below mentioned
Reason: Couldn't install the Cordova plugin phonegap-plugin-push. Using "requireCordovaModule" to load a non-Cordova module "child_process" is not supported. Add this module to your dependencies and use the regular "require" to load it.
Hi Soundarya ,
I think this plugin is not installed correctly. You can try to add this dependency in your configuration.
https://github.com/OutSystemsExperts/outsystems-phonegap-plugin-push
Hi narendra,
I have two plugin URL
this one in firebase mobile -https://github.com/wwdemoteam/outsystems-phonegap-plugin-push.git#v3.0.1
where i have to place the second one
Like in main module configuration or in same firebase mobile configuration
Mainly second URL for dependencies shows https://github.com/OutSystemsExperts/outsystems-phonegap-plugin-push- 404 not found in browser
You can use square bracket for multiple Urls.
{ "plugin":
[
{ "url": "https://github.com/Product-League/cordova-plugin-firebase-only-analytics-notifications#1.1" },
{ "url": "https://github.com/OutSystemsExperts/outsystems-phonegap-plugin-push" }
]
}
I tried your last sugeestion and getting the below error.
Could please suggest any other solution for the dependencies URL.
Mainly second URL for dependencies shows https://github.com/OutSystemsExperts/outsystems-phonegap-plugin-push 404 not found in browser
thanks
soundarya.p
It is not possible to add 2 plugins within the same Extensibility Configuration!
sharing one example module with you for Firebase. Hope it works for you!!
In my opinion it is not possible to use multiple plugin-url's in 1 module.https://success.outsystems.com/documentation/11/extensibility_and_integration/mobile_plugins/using_cordova_plugins/Also: Why should you use this Extensibility Configuration when using the FireBaseMobile plugin?Are you using both FireBaseMobile and PhoneGap ??
hi Jeroen Vormer
Actually we have issues on generating our android build for MABS 9.0.Firebase mobile plugin not supported for this version in android.
we tried to connect with plugins creator for update, unfortunately we could get any response so we tried to put any changes from our end to make the plugin supported for android build for MABS version 9.0
this is the error message i got from android build.
could you have any idea on this issues.
Could you share the total Build log?You can find it in Service Center --> Factory, find Application, Tab 'Distribute':You also can send it to me private at jvormer@synobsys.nl, I can have a look.Normally this plugin should work with MABS 9.0.....Best regards,Jeroen Vormer
Hi Jeroen Vormer,
I send it to your mentioned id "jvormer@synobsys.nl " via gmail id. Could you please check and let me know any changes have to made on it or anything I missed.
Soundarya.p
Hi Jeroen Vomer ,
Thanks a lot ! for the response and suggestions. I'm working on this things Once done I will post my result status immediately.
Really Thanks for your timely support and response. The suggested URL working fine and I can able to generate build successfully in MABS version 9.0 for android.