Showing posts with label game maker android permissions. Show all posts
Showing posts with label game maker android permissions. Show all posts

Sunday, March 19, 2017

Gamemaker 1.4 android publishing for IAP requires read_phone_state permission

When you add in app purchasing, and start using "Google Play Licensing" you will notice that the app now requires read_phone_state, which do not look good on app installs

To remove read_phone_state from the android apk please do below


  1. Goto YourProject.gmx\extensions\GooglePlayLicensingAsExt\AndroidSource\Sdk\library
  2. Edit AndroidManifest.xml
  3. Add xmlns:tools="http://schemas.android.com/tools" to manifest header
  4. Add <uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" /> in the body
  5. Save and compile project
The file in the end will look like below -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.vending.licensing"
xmlns:tools="http://schemas.android.com/tools"
android:versionCode="2"
android:versionName="1.5">
<!-- Devices >= 3 have version of Android Market that supports licensing. -->
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="15" />
<!-- Required permission to check licensing. -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />
</manifest>


Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...