0

I want to import sdkbox play and firebaseplugin simultaneously.

I applied google login service in sdkboxplay plugin and it works well.

Then I imported sdkbox firebase plugin, but it conflict with google login.

The string resource@string /google_app_id are duplicated with app/res/strings.xml and googleservice.xml.

The string resource@string /google_app_id which used in AndroidManifest.xml, are duplicated with app/res/strings.xml and googleservice.xml.

The formats of these strings are different.
The string of sdkboxplay is <string name="google_app_id">983552352747</string>
but the string of firebase plugin is <string name="google_app_id">1:983552352747:android:2a571907b792f3c2</string>

 

Can't I import both plugin?

Sam Wyatt answered
    0

    I'm unable to import both plugin.

    the impossible quiz

    Sam Wyatt answered
      0
      yinjimmy 1.17K Rep.

      http://docs.sdkbox.com/en/plugins/firebase/v3-cpp/

      박주형 commented
        • thanks for answering.

          I add two 'com.google.android.gms.games.APP_ID' like below

          <meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/google_app_id"/>
          <meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/google_app_id2"/>

          but occurs error in AndroidManifest.xml

          Merging result: ERROR
          C:\work\MyProj\proj.android-studio\app\AndroidManifest.xml:26:9-112 Error:
          Element meta-data#com.google.android.gms.games.APP_ID at AndroidManifest.xml:26:9-112 duplicated with element declared at AndroidManifest.xml:25:9-111
          C:\work\MyProj\proj.android-studio\app\AndroidManifest.xml Error:
          Validation failed, exiting

        Question stats

        • Active
        • Views137 times
        • Answers2 answers
        • Followers1 follower

        Categories