Skip to content

Commit 3404a0d

Browse files
authored
Merge pull request #9648 from NikolaSimsic/development
Resolve tickets MOO-1878 and MOO-1894 and update documentation for OTA handling Nanoflows and Microflows
2 parents 105c1b9 + d05c398 commit 3404a0d

File tree

10 files changed

+189
-9
lines changed

10 files changed

+189
-9
lines changed

content/en/docs/refguide/mobile/distributing-mobile-apps/building-native-apps/native-build-locally.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To set up your local app, do the following:
4040
1. When Mendix Native Mobile Builder launches you will see the home screen:
4141

4242
{{< figure src="/attachments/howto/mobile/native-mobile/distribution/build-native-apps/deploying-native-app/home-screen.png" alt="Mendix Native Mobile Builder Home Screen" width="350" class="no-border" >}}
43-
1. Select **Build app for distribution**.
43+
1. Select **Build app for local development**.
4444
1. Fill in your app's name and the app identifier. The wizard provides defaults, but you might want to align the app identifier to use your company's reversed URL, or change the app name in some other way:
4545

4646
{{< figure src="/attachments/howto/mobile/native-mobile/distribution/build-native-apps/deploying-native-app/wizard-app-details.png" alt="Wizard App Details" width="350" class="no-border" >}}

content/en/docs/refguide/mobile/distributing-mobile-apps/distributing-native-apps.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,64 @@ To generate a keystore for Android, follow these steps:
9494
{{< figure src="/attachments/refguide/mobile/managing-app-signing-keys/qanda.png" alt="info questions" class="no-border" >}}
9595
9696
6. Finishing these questions generates a keystore which will be saved into a *file.keystore* file in your current working directory.
97+
98+
## Building a Release App {#building-release}
99+
100+
Once your signing credentials are ready, you can build the signed release version of your app using Xcode (for iOS) or Android Studio (for Android).
101+
102+
### iOS (Xcode)
103+
104+
To build your iOS app in Xcode, do the following:
105+
106+
1. Open your project in Xcode (this can be generated by the Mendix Native Builder).
107+
1. In the project navigator, select your app target.
108+
1. Go to the **Signing & Capabilities** tab and ensure your team and provisioning profile are set.
109+
1. Choose **Any iOS Device (arm64)** in the device target dropdown.
110+
1. Go to the **Product** menu and select **Archive**.
111+
1. When the archive is complete, the **Organizer** window will open.
112+
1. From there, you can export the *.ipa* file by selecting **Distribute App** > **App Store Connect** or **Ad Hoc**, depending on your goal.
113+
1. Follow the steps to export the *.ipa* file or upload it directly to App Store Connect
114+
115+
Once you finish the final step, the exported *.ipa* file is usually located under `"~/Library/Developer/Xcode/Archives/DATE/YOUR-APP.xcarchive"` (with the publish date and name of your app instead of DATE and YOUR-APP).
116+
117+
### Android (Android Studio)
118+
119+
To build an Android app in Android Studio, do the following:
120+
121+
1. Open the android directory of your Mendix Native project in Android Studio.
122+
1. Select Build > Generate Signed Bundle / APK from the top menu.
123+
1. Choose APK or Android App Bundle (AAB).
124+
1. Follow the wizard and choose your keystore file, alias, and password.
125+
1. Select release as the build variant.
126+
1. Complete the wizard and wait for Android Studio to build the release file.
127+
128+
Once you finish the final step, the output *.apk* or *.aab* file will be located in one of two places (with the name of your project instead of YOUR-PROJECT):
129+
130+
* `"YOUR-PROJECT/android/app/build/outputs/apk/release/app-release.apk"`
131+
* `"~YOUR-PROJECT/android/app/build/outputs/bundle/release/app-release.aab"`
132+
133+
## Publishing to App Stores {#publishing}
134+
135+
### iOS – App Store Connect
136+
137+
To publish in the iOS App Store, do the following:
138+
139+
1. Log into App Store Connect.
140+
1. Create a new app record if this is your first time submitting.
141+
1. Upload the *.ipa* file directly from Xcode or by using Transporter (a free tool from Apple).
142+
1. Fill in all required metadata, screenshots, and compliance information.
143+
1. Submit your app for review.
144+
145+
Make sure your Apple Developer Account is active and the app has passed validation before submission.
146+
147+
### Android – Google Play Console
148+
149+
To publish in the Android Google Play Console, do the following:
150+
151+
1. Go to the Google Play Console.
152+
1. Create a new application and fill in the store listing information.
153+
1. Navigate to the **Release** > **Production** > **Create Release section**.
154+
1. Upload your signed *.apk* or *.aab* file.
155+
1. Review and roll out your release to production.
156+
157+
Be sure to enroll in Google Play App Signing if you plan to use AAB files. Also, don’t forget to set up content rating, privacy policies, and testing tracks if needed.

content/en/docs/refguide/mobile/distributing-mobile-apps/overtheair-updates.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ OTA updates are useful in the following app development cases:
6161
* Style changes
6262
* Static image, text, or other static asset changes
6363
* Layout changes
64-
* Nanoflow changes
64+
* Adding/Editing Nanoflow or Microflow
6565
* JavaScript action changes
6666
* Widgets added or removed
6767
* You added a new custom JavaScript-only widget or module
@@ -77,7 +77,6 @@ If you have made any changes directly to your iOS or Android app, you will have
7777
* You fundamentally changed your app's functionality (this is an Apple App Store limitation, and will require a re-release and re-review of your app by Apple—your app might be removed if you do not comply)
7878
* A new native module has been added (such as the [Native Mobile AR](https://marketplace.mendix.com/link/component/117209) module — for more information see [Modules](/refguide/modules/)
7979
* The app has been renamed
80-
* You added a new microflow or nanoflow
8180
* The app's launcher icons have been changed
8281
* The splash screen has been changed
8382
* The native template was updated (NT patch updates also require a full release)

content/en/docs/refguide10/mobile/distributing-mobile-apps/building-native-apps/native-build-locally.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To set up your local app, do the following:
4040
1. When Mendix Native Mobile Builder launches you will see the home screen:
4141

4242
{{< figure src="/attachments/howto10/mobile/native-mobile/distribution/build-native-apps/deploying-native-app/home-screen.png" alt="Mendix Native Mobile Builder Home Screen" width="350" class="no-border" >}}
43-
1. Select **Build app for distribution**.
43+
1. Select **Build app for local development**.
4444
1. Fill in your app's name and the app identifier. The wizard provides defaults, but you might want to align the app identifier to use your company's reversed URL, or change the app name in some other way:
4545

4646
{{< figure src="/attachments/howto10/mobile/native-mobile/distribution/build-native-apps/deploying-native-app/wizard-app-details.png" alt="Wizard App Details" width="350" class="no-border" >}}

content/en/docs/refguide10/mobile/distributing-mobile-apps/distributing-native-apps.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,64 @@ To generate a keystore for Android, follow these steps:
9494
{{< figure src="/attachments/refguide10/mobile/managing-app-signing-keys/qanda.png" alt="info questions" class="no-border" >}}
9595
9696
6. Finishing these questions generates a keystore which will be saved into a *file.keystore* file in your current working directory.
97+
98+
## Building a Release App {#building-release}
99+
100+
Once your signing credentials are ready, you can build the signed release version of your app using Xcode (for iOS) or Android Studio (for Android).
101+
102+
### iOS (Xcode)
103+
104+
To build your iOS app in Xcode, do the following:
105+
106+
1. Open your project in Xcode (this can be generated by the Mendix Native Builder).
107+
1. In the project navigator, select your app target.
108+
1. Go to the **Signing & Capabilities** tab and ensure your team and provisioning profile are set.
109+
1. Choose **Any iOS Device (arm64)** in the device target dropdown.
110+
1. Go to the **Product** menu and select **Archive**.
111+
1. When the archive is complete, the **Organizer** window will open.
112+
1. From there, you can export the *.ipa* file by selecting **Distribute App** > **App Store Connect** or **Ad Hoc**, depending on your goal.
113+
1. Follow the steps to export the *.ipa* file or upload it directly to App Store Connect
114+
115+
Once you finish the final step, the exported *.ipa* file is usually located under `"~/Library/Developer/Xcode/Archives/DATE/YOUR-APP.xcarchive"` (with the publish date and name of your app instead of DATE and YOUR-APP).
116+
117+
### Android (Android Studio)
118+
119+
To build an Android app in Android Studio, do the following:
120+
121+
1. Open the android directory of your Mendix Native project in Android Studio.
122+
1. Select **Build** > **Generate Signed Bundle / APK** from the top menu.
123+
1. Choose **APK** or **Android App Bundle (AAB)**.
124+
1. Follow the wizard and choose your keystore file, alias, and password.
125+
1. Select release as the build variant.
126+
1. Complete the wizard and wait for Android Studio to build the release file.
127+
128+
Once you finish the final step, the output *.apk* or *.aab* file will be located in one of two places (with the name of your project instead of YOUR-PROJECT):
129+
130+
* `"YOUR-PROJECT/android/app/build/outputs/apk/release/app-release.apk"`
131+
* `"~YOUR-PROJECT/android/app/build/outputs/bundle/release/app-release.aab"`
132+
133+
## Publishing to App Stores {#publishing}
134+
135+
### iOS – App Store Connect
136+
137+
To publish in the iOS App Store, do the following:
138+
139+
1. Log into App Store Connect.
140+
1. Create a new app record if this is your first time submitting.
141+
1. Upload the *.ipa* file directly from Xcode or by using Transporter (a free tool from Apple).
142+
1. Fill in all required metadata, screenshots, and compliance information.
143+
1. Submit your app for review.
144+
145+
Make sure your Apple Developer Account is active and the app has passed validation before submission.
146+
147+
### Android – Google Play Console
148+
149+
To publish in the Android Google Play Console, do the following:
150+
151+
1. Go to the Google Play Console.
152+
1. Create a new application and fill in the store listing information.
153+
1. Navigate to the **Release** > **Production** > **Create Release section**.
154+
1. Upload your signed *.apk* or *.aab* file.
155+
1. Review and roll out your release to production.
156+
157+
Be sure to enroll in Google Play App Signing if you plan to use AAB files. Also, don’t forget to set up content rating, privacy policies, and testing tracks if needed.

content/en/docs/refguide10/mobile/distributing-mobile-apps/overtheair-updates.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ OTA updates are useful in the following app development cases:
6161
* Style changes
6262
* Static image, text, or other static asset changes
6363
* Layout changes
64-
* Nanoflow changes
64+
* Adding/Editing Nanoflow or Microflow
6565
* JavaScript action changes
6666
* Widgets added or removed
6767
* You added a new custom JavaScript-only widget or module
@@ -77,7 +77,6 @@ If you have made any changes directly to your iOS or Android app, you will have
7777
* You fundamentally changed your app's functionality (this is an Apple App Store limitation, and will require a re-release and re-review of your app by Apple—your app might be removed if you do not comply)
7878
* A new native module has been added (such as the [Native Mobile AR](https://marketplace.mendix.com/link/component/117209) module — for more information see [Modules](/refguide10/modules/)
7979
* The app has been renamed
80-
* You added a new microflow or nanoflow
8180
* The app's launcher icons have been changed
8281
* The splash screen has been changed
8382
* The native template was updated (NT patch updates also require a full release)

content/en/docs/refguide9/mobile/distributing-mobile-apps/building-native-apps/native-build-locally.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To set up your local app, do the following:
4040
1. When Mendix Native Mobile Builder launches you will see the home screen:
4141

4242
{{< figure src="/attachments/howto9/mobile/native-mobile/distribution/build-native-apps/deploying-native-app/home-screen.png" alt="Mendix Native Mobile Builder Home Screen" width="350" class="no-border" >}}
43-
1. Select **Build app for distribution**.
43+
1. Select **Build app for local development**.
4444
1. Fill in your app's name and the app identifier. The wizard provides defaults, but you might want to align the app identifier to use your company's reversed URL, or change the app name in some other way:
4545

4646
{{< figure src="/attachments/howto9/mobile/native-mobile/distribution/build-native-apps/deploying-native-app/wizard-app-details.png" alt="Wizard App Details" width="350" class="no-border" >}}

content/en/docs/refguide9/mobile/distributing-mobile-apps/distributing-native-apps.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,64 @@ To generate a keystore for Android, follow these steps:
9494
{{< figure src="/attachments/refguide9/mobile/managing-app-signing-keys/qanda.png" alt="info questions" class="no-border" >}}
9595
9696
6. Finishing these questions generates a keystore which will be saved into a *file.keystore* file in your current working directory.
97+
98+
## Building a Release App {#building-release}
99+
100+
Once your signing credentials are ready, you can build the signed release version of your app using Xcode (for iOS) or Android Studio (for Android).
101+
102+
### iOS (Xcode)
103+
104+
To build your iOS app in Xcode, do the following:
105+
106+
1. Open your project in Xcode (this can be generated by the Mendix Native Builder).
107+
1. In the project navigator, select your app target.
108+
1. Go to the **Signing & Capabilities** tab and ensure your team and provisioning profile are set.
109+
1. Choose **Any iOS Device (arm64)** in the device target dropdown.
110+
1. Go to the **Product** menu and select **Archive**.
111+
1. When the archive is complete, the **Organizer** window will open.
112+
1. From there, you can export the *.ipa* file by selecting **Distribute App** > **App Store Connect** or **Ad Hoc**, depending on your goal.
113+
1. Follow the steps to export the *.ipa* file or upload it directly to App Store Connect
114+
115+
Once you finish the final step, the exported *.ipa* file is usually located under `"~/Library/Developer/Xcode/Archives/DATE/YOUR-APP.xcarchive"` (with the publish date and name of your app instead of DATE and YOUR-APP).
116+
117+
### Android (Android Studio)
118+
119+
To build an Android app in Android Studio, do the following:
120+
121+
1. Open the android directory of your Mendix Native project in Android Studio.
122+
1. Select **Build** > **Generate Signed Bundle / APK** from the top menu.
123+
1. Choose **APK** or **Android App Bundle (AAB)**.
124+
1. Follow the wizard and choose your keystore file, alias, and password.
125+
1. Select release as the build variant.
126+
1. Complete the wizard and wait for Android Studio to build the release file.
127+
128+
Once you finish the final step, the output *.apk* or *.aab* file will be located in one of two places (with the name of your project instead of YOUR-PROJECT):
129+
130+
* `"YOUR-PROJECT/android/app/build/outputs/apk/release/app-release.apk"`
131+
* `"~YOUR-PROJECT/android/app/build/outputs/bundle/release/app-release.aab"`
132+
133+
## Publishing to App Stores {#publishing}
134+
135+
### iOS – App Store Connect
136+
137+
To publish in the iOS App Store, do the following:
138+
139+
1. Log into App Store Connect.
140+
1. Create a new app record if this is your first time submitting.
141+
1. Upload the *.ipa* file directly from Xcode or by using Transporter (a free tool from Apple).
142+
1. Fill in all required metadata, screenshots, and compliance information.
143+
1. Submit your app for review.
144+
145+
Make sure your Apple Developer Account is active and the app has passed validation before submission.
146+
147+
### Android – Google Play Console
148+
149+
To publish in the Android Google Play Console, do the following:
150+
151+
1. Go to the Google Play Console.
152+
1. Create a new application and fill in the store listing information.
153+
1. Navigate to the **Release** > **Production** > **Create Release section**.
154+
1. Upload your signed *.apk* or *.aab* file.
155+
1. Review and roll out your release to production.
156+
157+
Be sure to enroll in Google Play App Signing if you plan to use AAB files. Also, don’t forget to set up content rating, privacy policies, and testing tracks if needed.

content/en/docs/refguide9/mobile/distributing-mobile-apps/overtheair-updates.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ OTA updates are useful in the following app development cases:
6161
* Style changes
6262
* Static image, text, or other static asset changes
6363
* Layout changes
64-
* Nanoflow changes
64+
* Adding/Editing Nanoflow or Microflow
6565
* JavaScript action changes
6666
* Widgets added or removed
6767
* You added a new custom JavaScript-only widget or module
@@ -77,7 +77,6 @@ If you have made any changes directly to your iOS or Android app, you will have
7777
* You fundamentally changed your app's functionality (this is an Apple App Store limitation, and will require a re-release and re-review of your app by Apple—your app might be removed if you do not comply)
7878
* A new native module has been added (such as the [Native Mobile AR](https://marketplace.mendix.com/link/component/117209) module — for more information see [Modules](/refguide9/modules/))
7979
* The app has been renamed
80-
* You added a new microflow or nanoflow
8180
* The app's launcher icons have been changed
8281
* The splash screen has been changed
8382

0 commit comments

Comments
 (0)