Skip to content

Commit

Permalink
Add template version to AndroidManifest.xml and Info.plist (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiph authored Jan 3, 2024
1 parent 0919546 commit 838a7dd
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/basic/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Specifies the version of the game template to understand template usage. -->
<meta-data
android:name="io.flutter.plugins.googlemobileads.FLUTTER_GAME_TEMPLATE_VERSION"
android:value="1.0.0"/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
Expand Down
2 changes: 2 additions & 0 deletions templates/basic/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>FLTGameTemplateVersion</key>
<string>1.0.0</string>
</dict>
</plist>
4 changes: 4 additions & 0 deletions templates/card/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Specifies the version of the game template to understand template usage. -->
<meta-data
android:name="io.flutter.plugins.googlemobileads.FLUTTER_GAME_TEMPLATE_VERSION"
android:value="1.0.0"/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
Expand Down
2 changes: 2 additions & 0 deletions templates/card/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>FLTGameTemplateVersion</key>
<string>1.0.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Specifies the version of the game template to understand template usage. -->
<meta-data
android:name="io.flutter.plugins.googlemobileads.FLUTTER_GAME_TEMPLATE_VERSION"
android:value="1.0.0"/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
Expand Down
2 changes: 2 additions & 0 deletions templates/endless_runner/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>FLTGameTemplateVersion</key>
<string>1.0.0</string>
</dict>
</plist>

0 comments on commit 838a7dd

Please sign in to comment.