Hi!For a mobile app we want to stop generating the iOs app. How can I remove the iOS configuration of the mobile app? Is it even possible?
We have initially configured the generation for Android and iOS, but because of several reasons (one being the provisioning profile for iOS does not have anymore a valid certificate, and the iOS generation always fails) we just want to have the generation for Android.
Note: We are not publishing to the stores.
In this article (https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Generate_and_Distribute_Your_Mobile_App#configure-and-generate-a-mobile-app-package-in-service-center) it is explained how to the setup the configuration to generate the mobile app, but it does not explain on how to remove a configuration.
We thought of an alternative way that would be to create a new mobile app and in that new one only setup the generation for Android but because of the obvious reasons that this would have impact in the end-user we would like to avoid this alternative.
--Tiago Bernardo
Hello Tiago,
I'm personally not aware of such mechanism to remove the configuration of a given mobile application. That's good feedback, though.
So, if you're not pushing to the stores, how are you distributing to your users? Generating the Android build and send it to them?
You could use the "new application" approach while maintaining the same App Identifier. You can plan this whenever you need to generate a new build and do the change when redistributing.
Cheers!
I have same question! ls this still not available?
It is still not possible to remove a distribute application that we generated, right? I haven't found any way to do it.
Sorry for reviving this thread as this was the first one that appeared when I googled the issue. Is it still not possible to remove a distribution platform? Is there an Idea that has been submitted that I can upvote?
I do have the same question. One of our developers unfortunately configured the Andriod part. I would like to reverse this.
I have the same question. I encountered some error when generating mobile apps for android. I want to reverse this behaviour.
You can prevent a native platform from being generated by setting Is_Active to false in the App_Mobile_Config system entity.
Hi Hélio Palma! How can you change the Is_Active to false in the system entity?
Hello Anne, as 'App_Mobile_Config' is read-only, you must update it directly in the database, or use an advanced query, something like this:
Get ApplicationKey from 'Application' entity and MobilePlatformId from static entity 'Mobile_Platform'.
code:
exec sp_executesql
N'update OSSYS_APP_MOBILE_CONFIG set IS_ACTIVE = @SetActive where APPLICATION_KEY = @ApplicationKey and (@MobilePlatformId = 0 or DEVICE_TYPE = @MobilePlatformId)',
N'@ApplicationKey nvarchar(100), @MobilePlatformId int, @SetActive bit',
@ApplicationKey,
@MobilePlatformId,
@SetActive
Thank you!
I have deactivated the native build for one of our applications but the native app is still available for distribution in Service Studio (Application > Distribute tab).
Am I correct that by setting the Is_Active field to false only prevents that that the native build is generated again and doesn't remove the current build? If yes, do you know how to remove the current native build?
To remove native builds, I recommend changing the BUILD_STATUS column to 4 (error) in the OSSYS_APP_MOBILE_BUILD entity and the build will disappear. Deletion may cause data inconsistency.
Filter OSSYS_APP_MOBILE_BUILD by APP_MOBILE_CONFIG column and BUILD_STATUS = 2 (finished)
code:update OSSYS_APP_MOBILE_BUILD set BUILD_STATUS = 4 where APP_MOBILE_CONFIG = <ID_FROM_OSSYS_APP_MOBILE_CONFIG> and BUILD_STATUS = 2