Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › redeclare permission onesignal android

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16149

    Bas

    hi i am getting an error when installing a second app that is using the onesignal plugin too.

    what can i do to prevent this?

     

    Failed to install /Users/baslentfert/qtprojects/build-TwentscheGolfclub-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_0d774e-Debug/android-build//build/outputs/apk/android-build-debug.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.lentfert.twentschegolfclub attempting to redeclare permission net.vplay.plugins.onesignal.permission.C2D_MESSAGE already owned by com.lentfert.gccsybrook]

     

    i found a solution:

    http://stackoverflow.com/questions/27154990/android-l-permission-conflict-between-release-and-debug-apks/27161589#27161589

    but i do not know where to put this.

    #16150

    Bas

    i added this in my cradle file:

     

        defaultConfig {
            applicationId "com.your.app.id"
        }
    

     

    #16151

    Bas

    i mean gradle of course 🙂

    #16152

    Günther
    Felgo Team

    Hi Bas!

    Your solution is correct, it is required to specify your unique applicationId in the build.gradle configuration of every project that uses the plugin.

    Cheers,
    Günther

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded