-
-
Notifications
You must be signed in to change notification settings - Fork 137
Change Store & License Settings
MainActivity.kt defines store and license settings:
override val billingEnabled = true
override fun amazonInstallsEnabled():Boolean = false
override fun checkLPF():Boolean = true
override fun checkStores():Boolean = true
...
override fun getLicKey():String? = "MIIBIjANBgkqhkiGgKglYGYGihLuihUuhhuBlouBkuiuBIyvYV"
...
override fun getLicenseChecker():PiracyChecker? {
destroyChecker() ...
return if (BuildConfig.DEBUG) null else super.getLicenseChecker()
}
Booleans accept true
and false
as values. Find the following:
override fun amazonInstallsEnabled():Boolean = false
override fun checkLPF():Boolean = true
override fun checkStores():Boolean = true
This outlines the functions of the booleans:
Boolean Name | Function (when true ) |
---|---|
amazonInstallsEnabled |
Allow installs from Amazon Appstore. |
checkLPF |
Disable app if Lucky Patcher installed. |
checkStores |
Disable app if third-party app store(s) installed. |
The license checker disables your app if it’s been pirated. In Google Play Console, go to Monetisation Setup. Copy the license key and replace the default string (MIIBI . . .) with your API key in the following:
override fun getLicKey():String? = "MIIBIjANBgkqhkiGgKglYGYGihLuihUuhhuBlouBkuiuBIyvYV"
By default, the license checker is disabled in debug
builds. To turn it off entirely, find the following:
override fun getLicenseChecker():PiracyChecker? {
destroyChecker() ...
return if (BuildConfig.DEBUG) null else super.getLicenseChecker()
}
Replace the third line with return null
:
override fun getLicenseChecker():PiracyChecker? {
destroyChecker() ...
return null
}
Wiki written by Patryk Goworowski, Lumiq Creative, and Jackson Hayes. Special thanks to Sanchith Hegde. Copyright © 2018 Jahir Fiquitiva.
Licensed under the CreativeCommons Attribution-ShareAlike 4.0 International License. You may not use this file except in compliance with the License. You may obtain a copy of the License at http://creativecommons.org/licenses/by-sa/4.0/legalcode.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
- Get Started
- Set Basic Values
- Create a Package
- Set App Name
- Set App Icon
- Set Launch Screen Image
- Set App Colours
- Change Store & License Settings
- Setting
blueprint_setup.xml
up - Setting
kuper_setup.xml
up - Setting
frames_setup.xml
up - Setting custom styles
- Adding Zooper widgets
- Adding Kustom assets
- Setting up Credits
- Optimize your wallpapers
- Setting up the wallpapers JSON file
- Enabling notifications
- Setting up the icon pack (1/2)
- Setting up the icon pack (2/2)
- Add support for Smart Launcher
- Update your app's changelog