新增:Facebook key

This commit is contained in:
ivan 2026-04-14 21:54:43 +08:00
parent 65439a66b2
commit 47513047ef
4 changed files with 26 additions and 28 deletions

View File

@ -8,33 +8,31 @@
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />
<!-- Adjust -->
<application
android:label="FunyMee AI"
android:icon="@mipmap/ic_launcher"
android:requestLegacyExternalStorage="true">
<!-- Adjust须放在 <application> 内,合并进 ApplicationInfo.metaData -->
<meta-data
android:name="com.adjust.sdk.appToken"
android:value="chflzzr4x5hc" />
<meta-data
android:name="com.adjust.sdk.environment"
android:value="sandbox" />
<!-- Facebook -->
<!-- Facebook须放在 <application> 内,否则 FacebookSdk 读不到 App ID / Client Token -->
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
<meta-data
android:name="com.facebook.sdk.ClientToken"
android:value="@string/facebook_client_token" />
<!-- 关闭 Facebook SDK 自动应用事件与广告主标识采集(仍可通过代码显式打点) -->
<meta-data
android:name="com.facebook.sdk.AutoLogAppEventsEnabled"
android:value="false" />
<meta-data
android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled"
android:value="false" />
<application
android:label="FunyMee AI"
android:icon="@mipmap/ic_launcher"
android:requestLegacyExternalStorage="true">
<activity
android:name=".MainActivity"
android:exported="true"

View File

@ -1,4 +1,4 @@
<resources>
<string name="facebook_app_id">1684216162986495</string>
<string name="facebook_client_token">df562f4ff186aaac5ff56ba190020ffd</string>
<string name="facebook_app_id">818607994622581</string>
<string name="facebook_client_token">5ce93805c2fbdf4df6b83ae4b3643293</string>
</resources>

View File

@ -62,8 +62,8 @@
"fbAppId": null
},
"facebook": {
"appId": "TODO_FACEBOOK_APP_ID",
"clientToken": "TODO_FACEBOOK_CLIENT_TOKEN",
"appId": "818607994622581",
"clientToken": "5ce93805c2fbdf4df6b83ae4b3643293",
"debugLogs": false
}
},

View File

@ -71,9 +71,9 @@
<key>AdjustEnvironment</key>
<string>sandbox</string>
<key>FacebookAppID</key>
<string>TODO: Add Facebook App ID</string>
<string>818607994622581</string>
<key>FacebookClientToken</key>
<string>TODO: Add Facebook Client Token</string>
<string>5ce93805c2fbdf4df6b83ae4b3643293</string>
<key>FacebookDisplayName</key>
<string>FunyMee AI</string>
<key>FacebookAutoLogAppEventsEnabled</key>