打包:Ad改为正式版

This commit is contained in:
ivan 2026-04-23 13:01:30 +08:00
parent 53497edc62
commit faed1ab448
5 changed files with 18 additions and 32 deletions

View File

@ -18,7 +18,7 @@
android:value="chflzzr4x5hc" />
<meta-data
android:name="com.adjust.sdk.environment"
android:value="sandbox" />
android:value="production" />
<!-- Facebook须放在 <application> 内,否则 FacebookSdk 读不到 App ID / Client Token -->
<meta-data
android:name="com.facebook.sdk.ApplicationId"

View File

@ -54,17 +54,17 @@
]
},
"analytics": {
"debugLogs": true,
"debugLogs": false,
"adjust": {
"appToken": "chflzzr4x5hc",
"environment": "sandbox",
"environment": "production",
"logLevel": "off",
"fbAppId": null
},
"facebook": {
"appId": "818607994622581",
"clientToken": "5ce93805c2fbdf4df6b83ae4b3643293",
"debugLogs": true
"debugLogs": false
}
},
"adjustEvents": {
@ -115,29 +115,7 @@
"resolution720p.credits": ["resolution720p.credits", "factor.padding", "cost_720p", "cost720p", "cost"]
},
"defaults": {
"go_run": false,
"screen": false,
"san_fang": false,
"privacy": "https://www.baidu.com",
"agreement": "https://www.baidu.com",
"items": [
{
"image": "https://cdn.petsheroai.xyz/cdn/temp/20260313/2032427067902025728.png",
"image_fix": "https://cdn.petsheroai.xyz/cdn/temp/20260313/2032427067902025728.png",
"img_need": 2,
"cost": 1,
"title": "BananaTask",
"params": "animal_expression"
},
{
"image": "https://cdn.petsheroai.xyz/cdn/temp/20260313/2032427067956551680.png",
"image_fix": "https://cdn.petsheroai.xyz/cdn/temp/20260313/2032427067956551680.png",
"img_need": 2,
"cost": 1,
"title": "BananaTask",
"params": "animal_expression"
}
]
}
},
"fieldMapping": {

View File

@ -69,7 +69,7 @@
<key>AdjustAppToken</key>
<string>chflzzr4x5hc</string>
<key>AdjustEnvironment</key>
<string>sandbox</string>
<string>production</string>
<key>FacebookAppID</key>
<string>818607994622581</string>
<key>FacebookClientToken</key>

View File

@ -79,9 +79,11 @@ class AppAuthCallbacks implements AuthServiceCallbacks {
@override
void onLoginFailed(String msg) {
if (kDebugMode) {
debugPrint('[AuthService] Login failed: $msg');
}
}
}
/// Adjust [FrameworkAuthService.init]
class AuthService {
@ -110,7 +112,11 @@ class AuthService {
await ScreenSecure.disableScreenshotBlock();
await ScreenSecure.disableScreenRecordBlock();
} on ScreenSecureException catch (e) {
debugPrint('[AuthService] native media picker: disable failed: ${e.message}');
if (kDebugMode) {
debugPrint(
'[AuthService] native media picker: disable failed: ${e.message}',
);
}
}
try {
return await action();
@ -154,9 +160,11 @@ class AuthService {
debugPrint('[AuthService] ScreenSecure: enabled (forbidScreenshot)');
}
} on ScreenSecureException catch (e) {
if (kDebugMode) {
debugPrint('[AuthService] ScreenSecure: ${e.message}');
}
}
}
static Future<void> get loginComplete => FrameworkAuthService.loginComplete;

View File

@ -2,7 +2,7 @@ name: funymee_ai
description: "FunyMee AI Application."
publish_to: 'none'
version: 1.0.16+16
version: 1.0.18+18
environment:
sdk: ^3.11.1