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

View File

@ -54,17 +54,17 @@
] ]
}, },
"analytics": { "analytics": {
"debugLogs": true, "debugLogs": false,
"adjust": { "adjust": {
"appToken": "chflzzr4x5hc", "appToken": "chflzzr4x5hc",
"environment": "sandbox", "environment": "production",
"logLevel": "off", "logLevel": "off",
"fbAppId": null "fbAppId": null
}, },
"facebook": { "facebook": {
"appId": "818607994622581", "appId": "818607994622581",
"clientToken": "5ce93805c2fbdf4df6b83ae4b3643293", "clientToken": "5ce93805c2fbdf4df6b83ae4b3643293",
"debugLogs": true "debugLogs": false
} }
}, },
"adjustEvents": { "adjustEvents": {
@ -115,29 +115,7 @@
"resolution720p.credits": ["resolution720p.credits", "factor.padding", "cost_720p", "cost720p", "cost"] "resolution720p.credits": ["resolution720p.credits", "factor.padding", "cost_720p", "cost720p", "cost"]
}, },
"defaults": { "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": { "fieldMapping": {

View File

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

View File

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

View File

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