Customize message popup on jailbroken device

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

How do you customize message for a secure app launched on a jail-broken device?

I am posting this answer based on a recent issue we had with our app.

Scenario

1)app is built in protected mode.

2)the moment app is launched,user sees a default message "your device does not meet the minimum security..."

3)app is closed.

As per kony's documentation,you can add an i18n key "ROOT_DETECTION_MESSAGE" to override the default message.However,this works only if your locale configured in the app was en_US.

if app is built on "en" locale and not "en_US",you will never be able to override the message.

pain point:-since our app was built on "en" locale with around 1500 keys,it was not possible to configure all the keys again for "en_US".Obviously,you can copy paste all the keys but that is not a straightforward solution for android.

solution:-

1)add the locale "en_US" to your project and configure only one key "ROOT_DETECTION_MESSAGE" for "en_US".

2)In the the pre-app init,set the locale again to "en" so that all your keys in "en" are picked up.