修改packagename

This commit is contained in:
cebgcontract 2022-11-09 00:16:05 +08:00
parent 05a3e959d4
commit eee1358120
9 changed files with 21 additions and 17 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.fitchgc.jcwallet">
package="com.cege.games.release">
<application
android:allowBackup="true"
@ -13,7 +13,7 @@
<!-- Tell Cocos2dxActivity the name of our .so -->
<meta-data android:name="android.app.lib_name"
android:value="cocos2djs" />
<activity android:name="MainActivity"
<activity android:name=".MainActivity"
android:screenOrientation="sensorLandscape"
android:exported="true"
>

View File

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

View File

@ -1,4 +1,4 @@
package com.fitchgc.jcwallet;
package com.cege.games.release;
import android.Manifest;
import android.app.Activity;
@ -16,8 +16,8 @@ import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.Window;
import com.fitchgc.jcwallet.activity.CustomCaptureActivity;
import com.fitchgc.jcwallet.dialog.QRCodeActivity;
import com.cege.games.release.activity.CustomCaptureActivity;
import com.cege.games.release.dialog.QRCodeActivity;
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.GoogleSignInClient;
@ -199,6 +199,10 @@ public class MainActivity extends Activity
}
if (!next) {
// JcSDK.csCallback(funId, "{errcode: 0, errmsg: 'cancel'}");
if (requestCode == RC_SIGN_IN) {
Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(data);
handleSignInResult(task);
}
if (requestCode == REQUEST_CODE_SCAN) {
JcSDK.scanQrCb(funId, "activity result with code: " + resultCode, null);
}

View File

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

View File

@ -1,14 +1,14 @@
package com.fitchgc.jcwallet.activity;
package com.cege.games.release.activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;
import com.fitchgc.jcwallet.R;
import com.cege.games.release.R;
import com.king.zxing.CaptureActivity;
import static com.fitchgc.jcwallet.MainActivity.KEY_TITLE;
import static com.cege.games.release.MainActivity.KEY_TITLE;
public class CustomCaptureActivity extends CaptureActivity {
private static final String TAG = CustomCaptureActivity.class.getSimpleName();

View File

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

View File

@ -1,4 +1,4 @@
package com.fitchgc.jcwallet.dialog;
package com.cege.games.release.dialog;
import android.app.Dialog;
import android.content.Context;
@ -7,8 +7,8 @@ import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import com.fitchgc.jcwallet.MainActivity;
import com.fitchgc.jcwallet.R;
import com.cege.games.release.MainActivity;
import com.cege.games.release.R;
import com.king.zxing.util.CodeUtils;
public class QRCodeActivity extends Dialog {

View File

@ -5,7 +5,7 @@ import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import com.fitchgc.jcwallet.MainActivity;
import com.cege.games.release.MainActivity;
import org.cocos2dx.lib.CocosJSHelper;
import org.json.JSONException;

View File

@ -7,7 +7,7 @@ import android.content.res.Resources;
import android.net.Uri;
import android.text.TextUtils;
import com.fitchgc.jcwallet.R;
import com.cege.games.release.R;
import net.openid.appauth.connectivity.ConnectionBuilder;
import net.openid.appauth.connectivity.DefaultConnectionBuilder;