change package name

This commit is contained in:
CounterFire2023 2023-11-06 14:01:53 +08:00
parent d7dd12c0d9
commit 01c19e716e
28 changed files with 67 additions and 81 deletions

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="com.cege.games.release"> package="com.ctf.games.release">
<application <application
android:allowBackup="true" android:allowBackup="true"
android:requestLegacyExternalStorage="true" android:requestLegacyExternalStorage="true"
android:name=".MainApplication" android:name="com.ctf.games.release.MainApplication"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
tools:replace="android:icon" tools:replace="android:icon"
android:label="@string/app_name" android:label="@string/app_name"
@ -34,7 +34,7 @@
android:exported="true" /> android:exported="true" />
<provider <provider
android:name="androidx.core.content.FileProvider" android:name="androidx.core.content.FileProvider"
android:authorities="com.cege.games.release.provider" android:authorities="com.ctf.games.release.provider"
android:exported="false" android:exported="false"
android:grantUriPermissions="true" android:grantUriPermissions="true"
tools:replace="android:authorities"> tools:replace="android:authorities">
@ -45,7 +45,7 @@
</provider> </provider>
<activity <activity
android:name=".MainActivity" android:name="com.ctf.games.release.MainActivity"
android:screenOrientation="sensorLandscape" android:screenOrientation="sensorLandscape"
android:theme="@style/CEBGThemeSelector" android:theme="@style/CEBGThemeSelector"
android:launchMode="singleTask" android:launchMode="singleTask"
@ -112,18 +112,18 @@
android:name="com.king.zxing.CaptureActivity" android:name="com.king.zxing.CaptureActivity"
android:theme="@style/CaptureTheme" /> android:theme="@style/CaptureTheme" />
<activity <activity
android:name=".activity.WebPageActivity" android:name="com.ctf.games.release.activity.WebPageActivity"
android:screenOrientation="sensorLandscape" android:screenOrientation="sensorLandscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout"
android:theme="@style/WebViewTheme" /> android:theme="@style/WebViewTheme" />
<activity <activity
android:name=".activity.BiometricActivity" android:name="com.ctf.games.release.activity.BiometricActivity"
android:theme="@style/DayNightActivity" android:theme="@style/DayNightActivity"
android:screenOrientation="sensorLandscape" android:screenOrientation="sensorLandscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|layoutDirection" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|layoutDirection"
/> />
<activity <activity
android:name=".activity.CustomCaptureActivity" android:name="com.ctf.games.release.activity.CustomCaptureActivity"
android:theme="@style/CaptureTheme" /> android:theme="@style/CaptureTheme" />
<!-- <!--
This activity declaration is merged with the version from the library manifest. This activity declaration is merged with the version from the library manifest.
@ -172,15 +172,15 @@
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".tiktokapi.TikTokEntryActivity" android:name="com.ctf.games.release.tiktokapi.TikTokEntryActivity"
android:launchMode="singleTask" android:launchMode="singleTask"
android:taskAffinity="com.cege.games.release" android:taskAffinity="com.ctf.games.release"
android:exported="true" /> android:exported="true" />
<activity <activity
android:name=".apple.AppleLoginActivity" android:name="com.ctf.games.release.apple.AppleLoginActivity"
android:theme="@style/WebViewTheme" /> android:theme="@style/WebViewTheme" />
<activity <activity
android:name=".apple.AppleLoginCbActivity" android:name="com.ctf.games.release.apple.AppleLoginCbActivity"
android:exported="true"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />

View File

@ -26,7 +26,7 @@ android {
} }
defaultConfig { defaultConfig {
applicationId "com.cege.games.release" applicationId "com.ctf.games.release"
minSdkVersion PROP_MIN_SDK_VERSION minSdkVersion PROP_MIN_SDK_VERSION
targetSdkVersion PROP_TARGET_SDK_VERSION targetSdkVersion PROP_TARGET_SDK_VERSION
versionCode 46 versionCode 46

View File

@ -1,4 +1,4 @@
package com.cege.games.release; package com.ctf.games.release;
public class Constants { public class Constants {
public static final String PREF_NAME = "jcwallet"; public static final String PREF_NAME = "jcwallet";

View File

@ -1,4 +1,4 @@
package com.cege.games.release; package com.ctf.games.release;
import static androidx.biometric.BiometricManager.Authenticators.BIOMETRIC_STRONG; import static androidx.biometric.BiometricManager.Authenticators.BIOMETRIC_STRONG;
import static androidx.biometric.BiometricManager.Authenticators.DEVICE_CREDENTIAL; import static androidx.biometric.BiometricManager.Authenticators.DEVICE_CREDENTIAL;
@ -24,11 +24,11 @@ import com.bytedance.sdk.open.tiktok.authorize.model.Authorization;
import com.bytedance.sdk.open.tiktok.base.MediaContent; import com.bytedance.sdk.open.tiktok.base.MediaContent;
import com.bytedance.sdk.open.tiktok.base.VideoObject; import com.bytedance.sdk.open.tiktok.base.VideoObject;
import com.bytedance.sdk.open.tiktok.share.Share; import com.bytedance.sdk.open.tiktok.share.Share;
import com.cege.games.release.activity.WebPageActivity; import com.ctf.games.release.activity.WebPageActivity;
import com.cege.games.release.appauth.AppAuthSvr; import com.ctf.games.release.appauth.AppAuthSvr;
import com.cege.games.release.apple.AppleLoginActivity; import com.ctf.games.release.apple.AppleLoginActivity;
import com.cege.games.release.ui.UIManager; import com.ctf.games.release.ui.UIManager;
import com.cege.games.release.wallet.WalletUtil; import com.ctf.games.release.wallet.WalletUtil;
import com.facebook.AccessToken; import com.facebook.AccessToken;
import com.facebook.CallbackManager; import com.facebook.CallbackManager;
import com.facebook.FacebookCallback; import com.facebook.FacebookCallback;

View File

@ -1,4 +1,4 @@
package com.cege.games.release; package com.ctf.games.release;
import android.app.Application; import android.app.Application;
import android.content.SharedPreferences; import android.content.SharedPreferences;

View File

@ -1,4 +1,4 @@
package com.cege.games.release; package com.ctf.games.release;
import androidx.core.content.FileProvider; import androidx.core.content.FileProvider;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.activity; package com.ctf.games.release.activity;
import static androidx.biometric.BiometricManager.Authenticators.BIOMETRIC_STRONG; import static androidx.biometric.BiometricManager.Authenticators.BIOMETRIC_STRONG;
import static androidx.biometric.BiometricManager.Authenticators.DEVICE_CREDENTIAL; import static androidx.biometric.BiometricManager.Authenticators.DEVICE_CREDENTIAL;
@ -6,7 +6,6 @@ import static androidx.biometric.BiometricPrompt.ERROR_USER_CANCELED;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.security.keystore.KeyInfo;
import android.util.Base64; import android.util.Base64;
import android.util.Log; import android.util.Log;
@ -14,7 +13,7 @@ import androidx.appcompat.app.AppCompatActivity;
import androidx.biometric.BiometricManager; import androidx.biometric.BiometricManager;
import androidx.biometric.BiometricPrompt; import androidx.biometric.BiometricPrompt;
import com.cege.games.release.R; import com.ctf.games.release.R;
import com.jc.jcfw.security.BiometricHelper; import com.jc.jcfw.security.BiometricHelper;
import com.jc.jcfw.security.CryptographyManager; import com.jc.jcfw.security.CryptographyManager;
import com.jc.jcfw.security.CryptographyManagerImpl; import com.jc.jcfw.security.CryptographyManagerImpl;

View File

@ -1,14 +1,14 @@
package com.cege.games.release.activity; package com.ctf.games.release.activity;
import static com.cege.games.release.ui.UIManager.JUMP_CODE_PHOTO; import static com.ctf.games.release.ui.UIManager.JUMP_CODE_PHOTO;
import static com.cege.games.release.ui.UIManager.KEY_TITLE; import static com.ctf.games.release.ui.UIManager.KEY_TITLE;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.widget.Button; import android.widget.Button;
import android.widget.TextView; import android.widget.TextView;
import com.cege.games.release.R; import com.ctf.games.release.R;
import com.king.zxing.CaptureActivity; import com.king.zxing.CaptureActivity;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.activity; package com.ctf.games.release.activity;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.activity; package com.ctf.games.release.activity;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;
@ -17,13 +17,13 @@ import android.webkit.WebViewClient;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import com.cege.games.release.MainApplication; import com.ctf.games.release.MainApplication;
import com.cege.games.release.R; import com.ctf.games.release.R;
import com.cege.games.release.ui.UIManager; import com.ctf.games.release.ui.UIManager;
import com.cege.games.release.webpage.events.CallJSEvent; import com.ctf.games.release.webpage.events.CallJSEvent;
import com.cege.games.release.webpage.events.ProxyCBEvent; import com.ctf.games.release.webpage.events.ProxyCBEvent;
import com.cege.games.release.webpage.events.WebPageEvent; import com.ctf.games.release.webpage.events.WebPageEvent;
import com.cege.games.release.webpage.WalletInterface; import com.ctf.games.release.webpage.WalletInterface;
import com.google.common.collect.Maps; import com.google.common.collect.Maps;
import com.jc.jcfw.JcSDK; import com.jc.jcfw.JcSDK;
import com.jc.jcfw.util.UIUtils; import com.jc.jcfw.util.UIUtils;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.appauth; package com.ctf.games.release.appauth;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;

View File

@ -1,21 +1,18 @@
package com.cege.games.release.apple; package com.ctf.games.release.apple;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;
import android.graphics.Rect;
import android.net.Uri; import android.net.Uri;
import android.util.Log; import android.util.Log;
import android.view.ViewGroup;
import android.view.Window;
import android.webkit.CookieManager; import android.webkit.CookieManager;
import android.webkit.WebResourceRequest; import android.webkit.WebResourceRequest;
import android.webkit.WebSettings; import android.webkit.WebSettings;
import android.webkit.WebView; import android.webkit.WebView;
import android.webkit.WebViewClient; import android.webkit.WebViewClient;
import com.cege.games.release.Constants; import com.ctf.games.release.Constants;
import com.cege.games.release.R; import com.ctf.games.release.R;
public class AppleLoginActivity extends Activity { public class AppleLoginActivity extends Activity {
private static final String TAG = AppleLoginActivity.class.getSimpleName(); private static final String TAG = AppleLoginActivity.class.getSimpleName();

View File

@ -1,4 +1,4 @@
package com.cege.games.release.apple; package com.ctf.games.release.apple;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;

View File

@ -1,11 +1,11 @@
package com.cege.games.release.dialog; package com.ctf.games.release.dialog;
import android.app.Dialog; import android.app.Dialog;
import android.content.Context; import android.content.Context;
import android.view.Window; import android.view.Window;
import android.view.WindowManager; import android.view.WindowManager;
import com.cege.games.release.R; import com.ctf.games.release.R;
public class BaseDialog extends Dialog { public class BaseDialog extends Dialog {

View File

@ -1,4 +1,4 @@
package com.cege.games.release.dialog; package com.ctf.games.release.dialog;
import android.app.Dialog; import android.app.Dialog;
import android.content.ClipData; import android.content.ClipData;
@ -9,7 +9,7 @@ import android.os.Bundle;
import android.widget.ImageView; import android.widget.ImageView;
import android.widget.TextView; import android.widget.TextView;
import com.cege.games.release.R; import com.ctf.games.release.R;
import com.jc.jcfw.util.ThreadUtils; import com.jc.jcfw.util.ThreadUtils;
import com.jc.jcfw.util.UIUtils; import com.jc.jcfw.util.UIUtils;
import com.king.zxing.util.CodeUtils; import com.king.zxing.util.CodeUtils;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.tiktokapi; package com.ctf.games.release.tiktokapi;
import android.app.Activity; import android.app.Activity;
import android.content.Intent; import android.content.Intent;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.ui; package com.ctf.games.release.ui;
import static android.app.Activity.RESULT_OK; import static android.app.Activity.RESULT_OK;
@ -12,8 +12,8 @@ import android.util.Log;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.core.app.ActivityOptionsCompat; import androidx.core.app.ActivityOptionsCompat;
import com.cege.games.release.R; import com.ctf.games.release.R;
import com.cege.games.release.activity.CustomCaptureActivity; import com.ctf.games.release.activity.CustomCaptureActivity;
import com.google.common.base.Strings; import com.google.common.base.Strings;
import com.jc.jcfw.JcSDK; import com.jc.jcfw.JcSDK;
import com.king.zxing.CameraScan; import com.king.zxing.CameraScan;

View File

@ -1,9 +1,9 @@
package com.cege.games.release.wallet; package com.ctf.games.release.wallet;
import android.content.Context; import android.content.Context;
import android.util.Log; import android.util.Log;
import com.cege.games.release.R; import com.ctf.games.release.R;
import com.google.android.gms.auth.api.signin.GoogleSignIn; import com.google.android.gms.auth.api.signin.GoogleSignIn;
import com.google.android.gms.auth.api.signin.GoogleSignInAccount; import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
import com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential; import com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential;

View File

@ -1,9 +1,9 @@
package com.cege.games.release.webpage; package com.ctf.games.release.webpage;
import android.content.Context; import android.content.Context;
import android.webkit.JavascriptInterface; import android.webkit.JavascriptInterface;
import com.cege.games.release.webpage.events.WebPageEvent; import com.ctf.games.release.webpage.events.WebPageEvent;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.webpage.events; package com.ctf.games.release.webpage.events;
public class CallJSEvent { public class CallJSEvent {
private String data; private String data;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.webpage.events; package com.ctf.games.release.webpage.events;
public class ProxyCBEvent { public class ProxyCBEvent {
private String data; private String data;

View File

@ -1,4 +1,4 @@
package com.cege.games.release.webpage.events; package com.ctf.games.release.webpage.events;
public class WebPageEvent { public class WebPageEvent {
private String dataStr; private String dataStr;

View File

@ -1,6 +1,6 @@
package com.jc.jcfw; package com.jc.jcfw;
import static com.cege.games.release.Constants.FUNID_PREFIX; import static com.ctf.games.release.Constants.FUNID_PREFIX;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.ActivityNotFoundException; import android.content.ActivityNotFoundException;
@ -8,11 +8,11 @@ import android.content.Intent;
import android.net.Uri; import android.net.Uri;
import android.util.Log; import android.util.Log;
import com.cege.games.release.MainActivity; import com.ctf.games.release.MainActivity;
import com.cege.games.release.MainApplication; import com.ctf.games.release.MainApplication;
import com.cege.games.release.ui.UIManager; import com.ctf.games.release.ui.UIManager;
import com.cege.games.release.webpage.events.CallJSEvent; import com.ctf.games.release.webpage.events.CallJSEvent;
import com.cege.games.release.webpage.events.ProxyCBEvent; import com.ctf.games.release.webpage.events.ProxyCBEvent;
import com.google.common.base.Strings; import com.google.common.base.Strings;
import com.jc.jcfw.google.PayClient; import com.jc.jcfw.google.PayClient;
import com.jc.jcfw.util.ThreadUtils; import com.jc.jcfw.util.ThreadUtils;

View File

@ -7,7 +7,7 @@ import android.content.res.Resources;
import android.net.Uri; import android.net.Uri;
import android.text.TextUtils; import android.text.TextUtils;
import com.cege.games.release.R; import com.ctf.games.release.R;
import net.openid.appauth.connectivity.ConnectionBuilder; import net.openid.appauth.connectivity.ConnectionBuilder;
import net.openid.appauth.connectivity.DefaultConnectionBuilder; import net.openid.appauth.connectivity.DefaultConnectionBuilder;
@ -17,7 +17,6 @@ import org.json.JSONObject;
import java.io.IOException; import java.io.IOException;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;

View File

@ -15,7 +15,7 @@ import com.android.billingclient.api.Purchase;
import com.android.billingclient.api.PurchasesUpdatedListener; import com.android.billingclient.api.PurchasesUpdatedListener;
import com.android.billingclient.api.QueryProductDetailsParams; import com.android.billingclient.api.QueryProductDetailsParams;
import com.android.billingclient.api.QueryPurchasesParams; import com.android.billingclient.api.QueryPurchasesParams;
import com.cege.games.release.MainActivity; import com.ctf.games.release.MainActivity;
import com.jc.jcfw.JcSDK; import com.jc.jcfw.JcSDK;
import org.json.JSONArray; import org.json.JSONArray;

View File

@ -11,13 +11,11 @@ import androidx.biometric.BiometricPrompt;
import androidx.core.content.ContextCompat; import androidx.core.content.ContextCompat;
import androidx.fragment.app.FragmentActivity; import androidx.fragment.app.FragmentActivity;
import com.cege.games.release.R; import com.ctf.games.release.R;
import java.util.concurrent.Executor; import java.util.concurrent.Executor;
import java.util.function.Consumer; import java.util.function.Consumer;
import javax.crypto.Cipher;
public class BiometricHelper { public class BiometricHelper {
public static final int ERROR_BIOMETRIC_FAIL = 100; public static final int ERROR_BIOMETRIC_FAIL = 100;

View File

@ -1,18 +1,11 @@
package com.jc.jcfw.util; package com.jc.jcfw.util;
import static androidx.core.content.ContextCompat.getSystemService;
import android.app.Activity;
import android.app.ActivityManager;
import android.content.Context; import android.content.Context;
import android.widget.Toast; import android.widget.Toast;
import androidx.annotation.MainThread; import androidx.annotation.MainThread;
import com.cege.games.release.MainActivity; import com.ctf.games.release.dialog.QRCodeActivity;
import com.cege.games.release.MainApplication;
import com.cege.games.release.dialog.QRCodeActivity;
import com.jc.jcfw.JcSDK;
public class UIUtils { public class UIUtils {
private static Toast toast; private static Toast toast;

View File

@ -2,7 +2,7 @@
"relation": ["delegate_permission/common.handle_all_urls"], "relation": ["delegate_permission/common.handle_all_urls"],
"target": { "target": {
"namespace": "android_app", "namespace": "android_app",
"package_name": "com.cege.games.release", "package_name": "com.ctf.games.release",
"sha256_cert_fingerprints": "sha256_cert_fingerprints":
["4E:3C:74:9E:92:90:51:F1:7C:12:DE:40:F9:72:9B:9A:7B:F3:D0:04:9B:CF:E2:98:94:BC:86:A9:AE:86:33:90"] ["4E:3C:74:9E:92:90:51:F1:7C:12:DE:40:F9:72:9B:9A:7B:F3:D0:04:9B:CF:E2:98:94:BC:86:A9:AE:86:33:90"]
} }