Forums

OverviewFelgo 2 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support