Skip to content

Commit

Permalink
Fix: HostApp is crashing with NoSuchFieldException in staging (#149)
Browse files Browse the repository at this point in the history
* add rule in miniapp proguard

* use @keep annotation instead

* remove redundant @keep annotation
  • Loading branch information
khairul-alam-licon committed Sep 15, 2020
1 parent 8618128 commit 4ffea90
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.rakuten.tech.mobile.miniapp.permission

import androidx.annotation.Keep

/** Type of miniapp permission. **/
enum class MiniAppPermissionType(val type: String) {
UNKNOWN("unknown"),
Expand All @@ -12,6 +14,7 @@ enum class MiniAppPermissionType(val type: String) {
}

/** Type of miniapp custom permission. **/
@Keep
enum class MiniAppCustomPermissionType(val type: String) {
USER_NAME("rakuten.miniapp.user.USER_NAME"),
PROFILE_PHOTO("rakuten.miniapp.user.PROFILE_PHOTO"),
Expand All @@ -35,6 +38,7 @@ internal enum class MiniAppPermissionResult(val type: String) {
}

/** Type of miniapp custom permission result. **/
@Keep
enum class MiniAppCustomPermissionResult {
ALLOWED,
DENIED,
Expand Down

0 comments on commit 4ffea90

Please sign in to comment.