Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_goodmoney
Commits
33ca2cd5
Commit
33ca2cd5
authored
Nov 04, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
9b0e4e95
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
build.gradle
GoodMoney/app/build.gradle
+4
-0
AndroidManifest.xml
GoodMoney/app/src/main/AndroidManifest.xml
+5
-0
MintsApplication.java
...p/src/main/java/com/mints/goodmoney/MintsApplication.java
+4
-0
gradle.properties
GoodMoney/gradle.properties
+2
-1
No files found.
GoodMoney/app/build.gradle
View file @
33ca2cd5
...
...
@@ -35,6 +35,7 @@ android {
JPUSH_APPKEY
:
RELEASE_JPUSH_KEY
,
JPUSH_CHANNEL
:
"goodmoney"
,
UMENG_KEY
:
RELEASE_UMENG_KEY
,
BUGLY_ID
:
RELEASE_BUGLY_KEY
,
SHARE_KEY
:
RELEASE_SHARESDK_KEY
,
SHARE_SECRET
:
RELEASE_SHARESDK_SECRET
,
APPLICATION_ID
:
applicationId
]
...
...
@@ -207,6 +208,9 @@ dependencies {
// BASE64Decoder(已集成)
// 三方接入
// bugly
implementation
'com.tencent.bugly:crashreport:3.3.92'
implementation
'com.tencent.bugly:nativecrashreport:3.0'
// leakcanary
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.4'
// 极光推送
...
...
GoodMoney/app/src/main/AndroidManifest.xml
View file @
33ca2cd5
...
...
@@ -195,6 +195,11 @@
<activity
android:name=
".ui.activitys.SplashKsADActivity"
android:screenOrientation=
"portrait"
/>
<meta-data
android:name=
"BUGLY_ID"
android:value=
"${BUGLY_ID}"
/>
<activity
android:name=
".ui.activitys.SplashCsjADActivity"
android:screenOrientation=
"portrait"
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/MintsApplication.java
View file @
33ca2cd5
...
...
@@ -31,6 +31,7 @@ import com.orhanobut.logger.AndroidLogAdapter;
import
com.orhanobut.logger.FormatStrategy
;
import
com.orhanobut.logger.Logger
;
import
com.orhanobut.logger.PrettyFormatStrategy
;
import
com.tencent.bugly.crashreport.CrashReport
;
import
com.tendcloud.tenddata.TCAgent
;
import
com.umeng.analytics.MobclickAgent
;
import
com.umeng.commonsdk.UMConfigure
;
...
...
@@ -113,6 +114,9 @@ public class MintsApplication extends MultiDexApplication {
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
UMConfigure
.
preInit
(
this
,
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"UMENG_KEY"
),
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"CHANNEL_NAME"
));
CrashReport
.
initCrashReport
(
getApplicationContext
(),
CommonUtils
.
getAppMetaData
(
this
,
"BUGLY_ID"
),
BuildConfig
.
DEBUG
);
// 初始化toast
initToast
();
...
...
GoodMoney/gradle.properties
View file @
33ca2cd5
...
...
@@ -41,7 +41,8 @@ RELEASE_UMENG_KEY=5f83c3eb80455950e4a759d3
#JPush
RELEASE_JPUSH_KEY
=
d1fc227e2d3ec3c7a8cafa69
#Bugly
RELEASE_BUGLY_KEY
=
eb959eec8c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment