2026-03-30 16:25:00 +08:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2026-04-16 14:57:19 +08:00
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.photonmatrix.photonmatrix">
|
|
|
|
|
|
<!-- 网络权限 -->
|
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
|
|
|
<application android:label="@string/app_name" android:icon="@mipmap/app_icon" android:theme="@style/UnityThemeSelector">
|
|
|
|
|
|
<!-- Unity 主 Activity -->
|
|
|
|
|
|
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:configChanges="orientation|screenSize|smallestScreenSize|keyboardHidden|keyboard">
|
2026-03-30 16:25:00 +08:00
|
|
|
|
<intent-filter>
|
|
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
|
|
</intent-filter>
|
2026-04-16 14:57:19 +08:00
|
|
|
|
<!-- 处理 Google 登录回调 -->
|
|
|
|
|
|
<intent-filter>
|
|
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
|
|
<data android:scheme="com.googleusercontent.apps.785438724947-kpjbqi43hbj6eddianbjsgkgkkclkfmd" />
|
|
|
|
|
|
</intent-filter>
|
2026-03-30 16:25:00 +08:00
|
|
|
|
</activity>
|
2026-04-16 14:57:19 +08:00
|
|
|
|
<!-- Firebase 配置 -->
|
|
|
|
|
|
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
|
|
|
|
|
|
<!-- 如果你使用 Firebase Messaging,需要添加 -->
|
|
|
|
|
|
<!--
|
|
|
|
|
|
<service
|
|
|
|
|
|
android:name=".MyFirebaseMessagingService"
|
|
|
|
|
|
android:exported="false">
|
|
|
|
|
|
<intent-filter>
|
|
|
|
|
|
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
|
|
|
|
</intent-filter>
|
|
|
|
|
|
</service>
|
|
|
|
|
|
-->
|
2026-03-30 16:25:00 +08:00
|
|
|
|
</application>
|
|
|
|
|
|
</manifest>
|