# 3. Force Update

To use this feature, you need to create 2 RemoteConfig variables on each platform:

* Android : f\_core\_popupUpdate\_minVersion\_android, f\_core\_popupUpdate\_targetVersion\_android
* IOS : f\_core\_popupUpdate\_minVersion\_ios, f\_core\_popupUpdate\_targetVersion\_ios

**Note:** This feature does not require dragging prefabs into the scene, just setup on Remote Config and the popup will automatically appear.

Instructions for creating Remote Config : [link](https://falcon-game-studio.gitbook.io/falcon-sdk/2.-remoteconfig-and-ab-testing/a.-remote-config-example#i.-tao-remote-config)

Explanation of variable names:

f\_core\_popupUpdate\_minVersion\_android (string) : Any versions lower than this value will display a force update popup with an Update button only.&#x20;

Example: If you want to require those using versions lower than **2.3.1** to update to the new version, enter the value: **2.3.1**

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjD7QfQ9Dr736LmutDGT1%2Fuploads%2FhovBrcvt9VHCsQf97CCX%2Fimage.png?alt=media&#x26;token=1cd4ef66-8216-45e8-bc65-297295ace735" alt=""><figcaption><p>Chỉ có nút Update</p></figcaption></figure>

f\_core\_popupUpdate\_targetVersion\_android (string) : Any versions less than this value and greater than the value of **f\_core\_popupUpdate\_minVersion\_android** above will display a recommend update popup. This popup includes a Cancel button **Cancel**

Example: If you want to encourage those using versions lower than **2.5.4** to update to the new version, enter the value: **2.5.4**. Note, any versions lower than **f\_core\_popupUpdate\_minVersion\_android** will still display the Force Update popup above.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjD7QfQ9Dr736LmutDGT1%2Fuploads%2FkGtVt4taek2MNLDgeFrE%2Fimage.png?alt=media&#x26;token=e97139d0-e586-4c8c-b8a6-9e2140db40a4" alt=""><figcaption><p>Có nút Update và Cancel</p></figcaption></figure>
