OneSignal; Error compiling Cordova plugin

OneSignal; Error compiling Cordova plugin

  

Hello!

Im using OneSignal plugin on my app to deliver push notifications. Everything worked fine about a week ago until now Im getting Compiling Error when Im trying to create APK.

After getting error message like above I changed Extensibility Configurations to:

{
    "plugin" :{
        "url": "https://github.com/OutSystems/OneSignal-Cordova-SDK.git#2.3.2"
    }
}


And after doing this I got error message:

 I can open application just fine in browser/Outsystems Now and my code/dependencies should be fine since my app with this plugin already worked.

What am I doing wrong here?

Thank You

-Joni

Solution

Hi Joni, I tried the following Extensibility Configuration and I could generate an APK without any problem:


{
    "plugin" :{
        "url": "https://github.com/OutSystems/OneSignal-Cordova-SDK.git#2.3.2-OS"
    }
}


I didn't check whether the plugin was still working as expected and I also don't know why the #2.0.12-OS4 does not seem to work any more.

greetings, pedro

Solution

Pedro Rodrigues wrote:

Hi Joni, I tried the following Extensibility Configuration and I could generate an APK without any problem:


{
    "plugin" :{
        "url": "https://github.com/OutSystems/OneSignal-Cordova-SDK.git#2.3.2-OS"
    }
}


I didn't check whether the plugin was still working as expected and I also don't know why the #2.0.12-OS4 does not seem to work any more.

greetings, pedro

Thank you Pedro

Plugin seems to be working just fine with the Extensibility Configuration you provided.

-Joni