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
c1da1177
Commit
c1da1177
authored
Apr 20, 2021
by
张释方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加愉悦赚
parent
52049f15
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
101 additions
and
2 deletions
+101
-2
build.gradle
GoodMoney/app/build.gradle
+7
-0
goodmoneypkg_1.2.3.apk
GoodMoney/app/goodmoneypkg/release/goodmoneypkg_1.2.3.apk
+0
-0
output-metadata.json
GoodMoney/app/goodmoneypkg/release/output-metadata.json
+20
-0
mduisdk_v3.1.0.15_support_msa_1.0.13.aar
GoodMoney/app/libs/mduisdk_v3.1.0.15_support_msa_1.0.13.aar
+0
-0
qq_x5.jar
GoodMoney/app/libs/qq_x5.jar
+0
-0
proguard-rules.pro
GoodMoney/app/proguard-rules.pro
+18
-1
Constant.kt
.../app/src/main/java/com/mints/goodmoney/common/Constant.kt
+2
-1
YyzManager.kt
...p/src/main/java/com/mints/goodmoney/manager/YyzManager.kt
+34
-0
MobileLoginActivity.kt
...a/com/mints/goodmoney/ui/activitys/MobileLoginActivity.kt
+1
-0
WxLoginActivity.kt
.../java/com/mints/goodmoney/ui/activitys/WxLoginActivity.kt
+1
-0
MainMyAdapter.kt
...main/java/com/mints/goodmoney/ui/adapter/MainMyAdapter.kt
+2
-0
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+16
-0
No files found.
GoodMoney/app/build.gradle
View file @
c1da1177
...
@@ -367,6 +367,13 @@ dependencies {
...
@@ -367,6 +367,13 @@ dependencies {
// } // 普通版本
// } // 普通版本
// compile(name: 'open_ad_sdk', ext: 'aar')
// compile(name: 'open_ad_sdk', ext: 'aar')
//愉悦赚
//微信小程序sdk
implementation
'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
implementation
(
name:
'mduisdk_v3.1.0.15_support_msa_1.0.13'
,
ext:
'aar'
)
//腾讯x5内核
implementation
'com.tencent.tbs.tbssdk:sdk:43903'
...
...
GoodMoney/app/goodmoneypkg/release/goodmoneypkg_1.2.3.apk
0 → 100644
View file @
c1da1177
File added
GoodMoney/app/goodmoneypkg/release/output-metadata.json
0 → 100644
View file @
c1da1177
{
"version"
:
1
,
"artifactType"
:
{
"type"
:
"APK"
,
"kind"
:
"Directory"
},
"applicationId"
:
"com.mints.goodmoney"
,
"variantName"
:
"goodmoneypkgRelease"
,
"elements"
:
[
{
"type"
:
"SINGLE"
,
"filters"
:
[],
"properties"
:
[],
"versionCode"
:
24
,
"versionName"
:
"1.2.3"
,
"enabled"
:
true
,
"outputFile"
:
"goodmoneypkg_1.2.3.apk"
}
]
}
\ No newline at end of file
GoodMoney/app/libs/mduisdk_v3.1.0.15_support_msa_1.0.13.aar
0 → 100644
View file @
c1da1177
File added
GoodMoney/app/libs/qq_x5.jar
deleted
100755 → 0
View file @
52049f15
File deleted
GoodMoney/app/proguard-rules.pro
View file @
c1da1177
...
@@ -781,3 +781,20 @@
...
@@ -781,3 +781,20 @@
-keep class
*
*.R$* {
-keep class
*
*.R$* {
<fields>; }
<fields>; }
# ======================= 听读 END ================
# ======================= 听读 END ================
# ======================= 愉悦赚 START ================
-dontwarn com.tencent.
*
*
#-- 微信sdk--
-keep class com.tencent.
*
* {
*;
}
-keep class android.support.v4.
*
* { *; }
-keep class android.support.v7.
*
* { *; }
-keep class com.bun.miitmdid.core.
*
* {*;}
-keep class com.mdad.sdk.mduisdk.AsoWebViewActivity {
public <methods>;
}
-keep class com.mdad.sdk.mduisdk.shouguan.
*
* { *; }
# ======================= 愉悦赚 END ================
\ No newline at end of file
GoodMoney/app/src/main/java/com/mints/goodmoney/common/Constant.kt
View file @
c1da1177
...
@@ -6,6 +6,7 @@ import com.mints.goodmoney.manager.UserManager
...
@@ -6,6 +6,7 @@ import com.mints.goodmoney.manager.UserManager
object
Constant
{
object
Constant
{
/**
/**
* 首次弹出权限声明
* 首次弹出权限声明
*/
*/
...
@@ -186,7 +187,7 @@ object Constant {
...
@@ -186,7 +187,7 @@ object Constant {
// 热门活动类型
// 热门活动类型
//小满
//小满
const
val
HOT_ACTIVITY_SHEEP
=
"TO_XMKJ"
const
val
HOT_ACTIVITY_SHEEP
=
"TO_XMKJ"
const
val
HOT_ACTIVITY_YYZ
=
"TO_YYZ"
const
val
HOT_ACTIVITY_WATER
=
"water"
const
val
HOT_ACTIVITY_WATER
=
"water"
const
val
HOT_ACTIVITY_WALK
=
"walk"
const
val
HOT_ACTIVITY_WALK
=
"walk"
const
val
HOT_ACTIVITY_CARD
=
"card"
const
val
HOT_ACTIVITY_CARD
=
"card"
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/YyzManager.kt
0 → 100644
View file @
c1da1177
package
com.mints.goodmoney.manager
import
android.app.Activity
import
android.app.Application
import
android.util.Log
import
com.mdad.sdk.mduisdk.AdManager
import
com.mdad.sdk.mduisdk.CommonCallBack
object
YyzManager
{
private
const
val
KEY
=
"37e179d05b23b0a"
private
const
val
APPID
=
"550"
fun
initYyz
(
appActivity
:
Application
)
{
//当用户登陆了且权限具备了后执行初始化操作
//当用户登陆了且权限具备了后执行初始化操作
AdManager
.
getInstance
(
appActivity
).
init
(
appActivity
,
APPID
,
UserManager
.
getInstance
().
userID
,
KEY
,
object
:
CommonCallBack
<
Any
?>
{
override
fun
onSuccess
(
response
:
String
)
{
//初始化成功
Log
.
e
(
"hyw"
,
"init onSuccess:$response"
)
}
override
fun
onFailure
(
response
:
String
)
{
//初始化失败
Log
.
e
(
"hyw"
,
"init onFailure:$response"
)
}
})
}
fun
openYyzTask
(
activity
:
Activity
)
{
AdManager
.
getInstance
(
activity
).
openYyzTask
(
activity
);
}
}
\ No newline at end of file
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/MobileLoginActivity.kt
View file @
c1da1177
...
@@ -94,6 +94,7 @@ class MobileLoginActivity : BaseActivity(), LoginView, View.OnClickListener {
...
@@ -94,6 +94,7 @@ class MobileLoginActivity : BaseActivity(), LoginView, View.OnClickListener {
try
{
try
{
// 登录成功初始化鱼玩盒子userid
// 登录成功初始化鱼玩盒子userid
YwhzManager
.
init
(
baseApplication
)
YwhzManager
.
init
(
baseApplication
)
YyzManager
.
initYyz
(
baseApplication
)
}
catch
(
e
:
Exception
)
{
}
catch
(
e
:
Exception
)
{
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/WxLoginActivity.kt
View file @
c1da1177
...
@@ -118,6 +118,7 @@ class WxLoginActivity : BaseActivity()
...
@@ -118,6 +118,7 @@ class WxLoginActivity : BaseActivity()
try
{
try
{
// 登录成功初始化鱼玩盒子userid
// 登录成功初始化鱼玩盒子userid
YwhzManager
.
init
(
baseApplication
)
YwhzManager
.
init
(
baseApplication
)
YyzManager
.
initYyz
(
baseApplication
)
}
catch
(
e
:
Exception
)
{
}
catch
(
e
:
Exception
)
{
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/adapter/MainMyAdapter.kt
View file @
c1da1177
...
@@ -63,6 +63,8 @@ class MainMyAdapter(context: Context, taskData: MutableList<MyInfo.AutoListBean>
...
@@ -63,6 +63,8 @@ class MainMyAdapter(context: Context, taskData: MutableList<MyInfo.AutoListBean>
// 蘑菇星球
// 蘑菇星球
const
val
TO_MOKU
=
"TO_MOKU"
const
val
TO_MOKU
=
"TO_MOKU"
//愉悦赚
const
val
TO_YYZ
=
"TO_YYZ"
}
}
private
var
mContext
:
Context
=
context
private
var
mContext
:
Context
=
context
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
c1da1177
...
@@ -871,6 +871,14 @@ class MyFragment : BaseFragment(),
...
@@ -871,6 +871,14 @@ class MyFragment : BaseFragment(),
MainMyAdapter
.
TO_MOKU
->
{
MainMyAdapter
.
TO_MOKU
->
{
gotoMoku
()
gotoMoku
()
}
}
MainMyAdapter
.
TO_YYZ
->{
// 愉悦赚事件
if
(!
userManager
.
userIsLogin
())
{
readyGo
(
WxLoginActivity
::
class
.
java
)
return
}
YyzManager
.
openYyzTask
(
requireActivity
())
}
}
}
}
}
}
}
...
@@ -978,6 +986,14 @@ class MyFragment : BaseFragment(),
...
@@ -978,6 +986,14 @@ class MyFragment : BaseFragment(),
return
return
}
}
}
}
Constant
.
HOT_ACTIVITY_YYZ
->
{
// 愉悦赚事件
if
(!
userManager
.
userIsLogin
())
{
readyGo
(
WxLoginActivity
::
class
.
java
)
return
}
YyzManager
.
openYyzTask
(
requireActivity
())
}
Constant
.
HOT_ACTIVITY_CAICY
->
{
Constant
.
HOT_ACTIVITY_CAICY
->
{
RxPermissions
(
requireActivity
())
RxPermissions
(
requireActivity
())
.
request
(
Manifest
.
permission
.
READ_PHONE_STATE
)
.
request
(
Manifest
.
permission
.
READ_PHONE_STATE
)
...
...
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