Skip to content

Commit

Permalink
Add optional preferredAndroidMarket
Browse files Browse the repository at this point in the history
  • Loading branch information
appupgrade-dev committed Feb 27, 2023
1 parent d63ec5d commit 71a3c39
Showing 1 changed file with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,31 @@ data class AppInfo(
val appLanguage: String? = null,
val preferredAndroidMarket: String? = null,
val otherAndroidMarketUrl: String? = null,
)
) {
constructor(
appId: String,
appName: String,
appVersion: String,
platform: String,
environment: String,
): this(appId, appName, appVersion, platform, environment, null, null, null)

constructor(
appId: String,
appName: String,
appVersion: String,
platform: String,
environment: String,
appLanguage: String,
): this(appId, appName, appVersion, platform, environment, appLanguage, null, null)

constructor(
appId: String,
appName: String,
appVersion: String,
platform: String,
environment: String,
appLanguage: String,
preferredAndroidMarket: String?,
): this(appId, appName, appVersion, platform, environment, appLanguage, preferredAndroidMarket, null)
}

0 comments on commit 71a3c39

Please sign in to comment.