Android Question Manifest and double definitions in different style

sorex

Expert
Licensed User
Longtime User
Hello,

How does the manifest gets parsed when you have...

1. multiple equal permissions let's say

B4X:
AddPermission(android.permission.INTERNET)


2. multiple definitions of the same thing but via a different method

B4X:
'************ Google Play Services Base ************
AddApplicationText(
   <activity android:name="com.google.android.gms.common.api.GoogleApiActivity"
  android:theme="@android:style/Theme.Translucent.NoTitleBar"
  android:exported="false"/>
    <meta-data
  android:name="com.google.android.gms.version"
  android:value="@integer/google_play_services_version" />
)
'************ Google Play Services Base (end) ************

versus

B4X:
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
 
Top