Unity IAP Issue - Android

Hi all - I’m testing Codeless IAP on an Android device and getting an error on tap of the IAP button:

The class UnityEngine.VR.VRSettings could not be loaded, used in Stores

I took a look at the generated manifest and I see the following:

`

 <activity android:name="com.unity.purchasing.googleplay.VRPurchaseActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:enableVrMode="com.google.vr.vrcore/com.google.vr.vrcore.common.VrCoreListenerService" android:theme="@style/VrActivityTheme">
  <intent-filter>
    <action android:name="com.google.vr.vrcore.ACTION_NONE" />
    <category android:name="com.google.intent.category.DAYDREAM" />
  </intent-filter>
</activity>

`

My game does not have VR enabled in the build settings, and this error only started once I integrated the Unity IAP.

Questions:

  1. Is VR required to enable IAP?
  2. If not, is there a setting I’m missing that will disable this?
  3. Am I better off creating a Purchaser script and ditching the Codeless IAP?

Any help would be greatly appreciated! This is my first attempt at in-app purchases and getting a VR error kind of threw me for a loop.

  1. Find UnityPurchasing - Bin - Android - GooglePlay.aar
  2. Change GooglePlay.zip
  3. UnCompress
  4. AndroidManifest.xml Open
  5. delete VRPurchaseActivity
  6. delete GooglePlay.zip
  7. Compress GooglePlay Folder
  8. Rename GooglePlay.aar