Commit bcd49b8ecbba749db6730b67937323ea7dbe0d58

Authored by 吴启风
1 parent cde7505e

feat:android游戏版本&参数调整

android/app/build.gradle
... ... @@ -94,5 +94,5 @@ dependencies {
94 94 // kotlin扩展(可选)
95 95 implementation 'com.geyifeng.immersionbar:immersionbar-ktx:3.2.2'
96 96 // coco2d游戏
97   - implementation 'io.keyss.android.library:bjgame:1.0.3'
  97 + implementation 'io.keyss.android.library:steve_game:1.0.0'
98 98 }
... ...
android/app/src/main/kotlin/com/kouyuxingqiu/wow_english/methodChannels/GameMethodChannel.kt
... ... @@ -41,7 +41,7 @@ class GameMethodChannel(activity: FlutterActivity, flutterEngine: FlutterEngine)
41 41 val gameId = call.argument<Int>("gameId")
42 42 activity.startActivity(
43 43 Intent(activity, AppActivity::class.java).apply {
44   - putExtra("game", gameId)
  44 + putExtra("gameId", gameId)
45 45 })
46 46 result.success(true)
47 47 } else {
... ...