This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
map_suite_runtime_license_guide_for_mobile [2017/02/17 07:24] marklee |
map_suite_runtime_license_guide_for_mobile [2020/05/19 20:27] (current) benbai |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== MapSuite Runtime License Guide for Mobile====== | ====== MapSuite Runtime License Guide for Mobile====== | ||
- | |||
- | ===== What is Runtime License ===== | ||
When debugging or running a mobile app with Map Suite Mobile Components, it's required to set up the Runtime license. Without the Runtime license, the application cannot be launched. | When debugging or running a mobile app with Map Suite Mobile Components, it's required to set up the Runtime license. Without the Runtime license, the application cannot be launched. | ||
===== Get Runtime License from Map Suite Product Center ===== | ===== Get Runtime License from Map Suite Product Center ===== | ||
- | <faicon fa fa-download fa-lg> {{:ThinkGeo.MapSuite.ProductCenter.zip|Download Product Center}} //(0.3 MB)// | ||
- | Runtime License can be generated by “Map Suite Product Center”. Please download it from the address above. | + | A Runtime License can be generated by “Map Suite Product Center”. Please navigate to ThinkGeo.Mobile.iOS/ThinkGeo.Mobile.Android Nuget package installation folder, find ThinkGeo.ProductCenter.exe and run it. This executable can also be found in the project bin folder after installing the nuget package and recompile your project. |
- | After downloaded the Product Center, double click the ThinkGeo.MapSuite.ProductCenter.exe to start it. Then let’s switch to the iOS or Android tab as Figure 1 indicates. | + | |
+ | Then, let’s switch to the iOS or Android tab as Figure 1 indicates. | ||
{{ :mapsuite_product_center_ios.png?direct |}} | {{ :mapsuite_product_center_ios.png?direct |}} | ||
//Figure 1. Map Suite Product Center with iOS tab selected// | //Figure 1. Map Suite Product Center with iOS tab selected// | ||
- | ===== Activate or Start Trail with Map Suite Product Center ===== | + | ===== Activate or Start Trial with Map Suite Product Center ===== |
- | In this step, we are going to generate the license with your account. Please sign in your account firstly then click "Create" button to use your full license if you've purchased the selected product. Also, you can click "Start Evaluation" button to get a free trial license. | + | In this step, we are going to generate the license with your account. Please sign into your account, then click the "Activate" button to use your full license if you've purchased the selected product. Also, you can click the "Start Evaluation" button to get a free trial license. |
===== Generate Runtime License File ===== | ===== Generate Runtime License File ===== | ||
- | After you have activated or started evaluation with your account, the next thing we need to do is to generate a Runtime License file to bind to the app you are working on. | + | After you have activated or started an evaluation with your account, the next thing we need to do is to generate a Runtime License file to bind to the app you are working on. |
- | The runtime license is binded to an unique ID of the app. iOS and Android app’s unique ID are located in different places. | + | The runtime license is bound to a unique ID of the app. iOS and Android apps' unique ID are located in different places. |
- | * iOS app is binding to the Bundle ID in the iOS project settings. | + | * iOS app is bound to the Bundle ID in the iOS project settings. |
{{ :mapsuite_ios_boundle_id.png?direct |}} | {{ :mapsuite_ios_boundle_id.png?direct |}} | ||
- | * Android app is binding to the Package name of the Android project settings. | + | * Android app is bound to the Package name of the Android project settings. |
{{ :mapsuite_android_boundle_id.png?direct |}} | {{ :mapsuite_android_boundle_id.png?direct |}} | ||
- | Let’s copy the App’s unique ID and paste to the textbox on the right side of the product center in iOS/Android tab. Then click “Create” button to generate a runtime license. | + | Let’s copy the app’s unique ID and paste it in the textbox on the right side of the product center in iOS/Android tab. Then click the “Create” button to generate a runtime license. |
{{:mapsuite_runtime_license_ios.png?direct |}} | {{:mapsuite_runtime_license_ios.png?direct |}} | ||
+ | |||
+ | {{:mapsuite_runtime_license_android.png?direct |}} | ||
===== Setup Runtime License File for Your App ===== | ===== Setup Runtime License File for Your App ===== | ||
- | After generated the runtime license file, we need to copy this license file to the app project app you are working in Visual Studio, | + | After generating the runtime license file, we need to copy this license file to the app or project you are working on in Visual Studio, |
- | and change the build action depends on the platform as following list: | + | and change the build action depending on the platform as following: |
* Copy the license file to the iOS project and set the “Build Action” as “BundleResource” in iOS. | * Copy the license file to the iOS project and set the “Build Action” as “BundleResource” in iOS. | ||
{{ :mapsuite_ios_license_type.png?direct |}} | {{ :mapsuite_ios_license_type.png?direct |}} | ||
<div newline></div> | <div newline></div> | ||
- | * Copy license file to Assets folder and set make sure the “Build Action” is “AndroidAsset” in Android. | + | * Copy license file to the Assets folder and make sure the “Build Action” is set to “AndroidAsset” in Android. |
{{ :mapsuite_android_license_type.png?direct |}} | {{ :mapsuite_android_license_type.png?direct |}} | ||
Now the licenses are ready for development and you can also distribute the app with this runtime license. Let’s press F5 to start your app and enjoy what you have created. | Now the licenses are ready for development and you can also distribute the app with this runtime license. Let’s press F5 to start your app and enjoy what you have created. |