feat(android): 初始化Android项目基础框架及推送功能
- 新增amazy和titanplayz两个项目的build.gradle配置文件 - 配置应用的包名、版本号及资源颜色和字符串 - 集成Firebase服务,添加google-services.json文件和相关依赖 - 添加签名配置及打包输出重命名规则 - 新增基础Activity(IndexActivity)实现FCM推送订阅功能 - 新增自定义Firebase消息服务(MyFirebaseMessageingService)处理通知显示 - 添加应用基础主题及样式配置文件 - 设置网络安全配置,支持明文流量 - 添加资源文件(启动背景big_bg.xml及应用logo) - 配置应用权限及推送相关权限 - 创建Application子类WebApplication初始化日志和上下文 - 完成文件路径配置,支持文件访问权限适配Android 7.0及以上系统
This commit is contained in:
29
titanplayz/google-services.json
Normal file
29
titanplayz/google-services.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "781122275884",
|
||||
"project_id": "antbet-e3b1c",
|
||||
"storage_bucket": "antbet-e3b1c.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:781122275884:android:8f5f3f751d8558c2831f89",
|
||||
"android_client_info": {
|
||||
"package_name": "com.hausd.ANTBET"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyBUfKVyRr9FpPQt4i7XgiYC11j9Oafw1rs"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": []
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
Reference in New Issue
Block a user