Skip to content

Commit

Permalink
Change version number for android
Browse files Browse the repository at this point in the history
  • Loading branch information
AdriaCarrera committed Jul 21, 2022
1 parent 2a191a5 commit a0e97df
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,21 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
},
splash: { image: "./assets/images/splash.png", resizeMode: "cover", backgroundColor: "#141414" },
},
android: {
package: "com.peersyst.ckbull",
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#141414",
},
versionCode: Number(process.env.BUILD_NUMBER) || 0,
softwareKeyboardLayoutMode: "pan",
splash: { image: "./assets/images/splash.png", resizeMode: "cover", backgroundColor: "#141414" },
get android(): ExpoConfig["android"] {
return {
package: "com.peersyst.ckbull",
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#141414",
},
versionCode: Number((this.version || "").replace(/\./g, "") + process.env.BUILD_NUMBER) || 0,
softwareKeyboardLayoutMode: "pan",
splash: {
image: "./assets/images/splash.png",
resizeMode: "cover",
backgroundColor: "#141414",
},
};
},
web: {
favicon: "./assets/images/favicon.png",
Expand Down

0 comments on commit a0e97df

Please sign in to comment.