- Created build.gradle for the 2U8OB module with application ID com.xizhcozzc.xoxau and output name xofun88. - Added google-services.json for Firebase configuration. - Implemented Firebase messaging service for push notifications. - Included AndroidManifest.xml with necessary permissions and application setup. - Added drawable and mipmap resources for app branding. - Created .gitignore to exclude build and release directories. - Added pro
20 lines
425 B
Java
20 lines
425 B
Java
package com.webclip.base;
|
|
|
|
import android.app.Application;
|
|
import android.content.Context;
|
|
|
|
import com.webclip.base.LogUtils;
|
|
|
|
public class WebApplication extends Application {
|
|
|
|
|
|
public static Context application;
|
|
@Override
|
|
public void onCreate() {
|
|
super.onCreate();
|
|
// 设置开启优化方案
|
|
application = this;
|
|
LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
|
|
}
|
|
}
|