Падение soomla после покупки в единстве (5.6)
Я использую плагин soomla в единстве 5.6. Я покупаю после покупки единство останавливается. Может кто-нибудь мне помочь?
Это содержимое AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0">
<uses-permission android:name="com.farsitel.bazaar.permission.PAY_THROUGH_BAZAAR" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true">
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>
<activity android:name="com.soomla.store.billing.google.GooglePlayIabService$IabActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<meta-data android:name="billing.service" android:value="google.GooglePlayIabService" />
<meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" />
</application>
</manifest>
Это логи в logcat:
03-08 01:19:23.352: E/DatabaseUtils(1530): java.lang.SecurityException: No permission to write APN settings: Neither user 10649 nor current process has android.permission.WRITE_APN_SETTINGS.
03-08 01:19:23.352: E/DatabaseUtils(1530): at android.app.ContextImpl.enforce(ContextImpl.java:1774)
03-08 01:19:23.352: E/DatabaseUtils(1530): at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1803)
03-08 01:19:23.352: E/DatabaseUtils(1530): at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:2260)
03-08 01:19:23.352: E/DatabaseUtils(1530): at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:1800)
03-08 01:19:23.352: E/DatabaseUtils(1530): at android.content.ContentProvider.query(ContentProvider.java:857)
03-08 01:19:23.352: E/DatabaseUtils(1530): at android.content.ContentProvider$Transport.query(ContentProvider.java:200)
03-08 01:19:23.352: E/DatabaseUtils(1530): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
03-08 01:19:23.352: E/DatabaseUtils(1530): at android.os.Binder.execTransact(Binder.java:407)
03-08 01:19:23.352: E/DatabaseUtils(1530): at dalvik.system.NativeStart.run(Native Method)
03-08 01:19:23.352: E/Cliptraywindow(1180): error: clip count(20) does not match child view count(0)!!
03-08 01:19:23.502: E/BatteryObserver(1180): usb Uevent not necessary.
03-08 01:19:23.562: E/SOOMLA GooglePlayIabService(32258): Error purchasing item null
03-08 01:19:23.562: E/AndroidRuntime(32258): FATAL EXCEPTION: main
03-08 01:19:23.562: E/AndroidRuntime(32258): Process: com.mastermind.test, PID: 32258
03-08 01:19:23.562: E/AndroidRuntime(32258): java.lang.Error: FATAL EXCEPTION [main]
03-08 01:19:23.562: E/AndroidRuntime(32258): Unity version : 5.6.0f3
03-08 01:19:23.562: E/AndroidRuntime(32258): Device model : LGE LG-D802
03-08 01:19:23.562: E/AndroidRuntime(32258): Device fingerprint: lge/g2_open_ame/g2:4.4.2/KOT49I.D80220c/D80220c.1402404754:user/release-keys
03-08 01:19:23.562: E/AndroidRuntime(32258): Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mastermind.test/com.soomla.store.billing.google.GooglePlayIabService$IabActivity}: java.lang.NullPointerException
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2200)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2250)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.app.ActivityThread.access$800(ActivityThread.java:139)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1200)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.os.Handler.dispatchMessage(Handler.java:102)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.os.Looper.loop(Looper.java:136)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.app.ActivityThread.main(ActivityThread.java:5105)
03-08 01:19:23.562: E/AndroidRuntime(32258): at java.lang.reflect.Method.invokeNative(Native Method)
03-08 01:19:23.562: E/AndroidRuntime(32258): at java.lang.reflect.Method.invoke(Method.java:515)
03-08 01:19:23.562: E/AndroidRuntime(32258): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:792)
03-08 01:19:23.562: E/AndroidRuntime(32258): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
03-08 01:19:23.562: E/AndroidRuntime(32258): at dalvik.system.NativeStart.main(Native Method)
03-08 01:19:23.562: E/AndroidRuntime(32258): Caused by: java.lang.NullPointerException
03-08 01:19:23.562: E/AndroidRuntime(32258): at com.soomla.store.billing.google.GooglePlayIabService.access$402(GooglePlayIabService.java:53)
03-08 01:19:23.562: E/AndroidRuntime(32258): at com.soomla.store.billing.google.GooglePlayIabService$IabActivity.onCreate(GooglePlayIabService.java:578)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.app.Activity.performCreate(Activity.java:5275)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
03-08 01:19:23.562: E/AndroidRuntime(32258): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2164)
03-08 01:19:23.562: E/AndroidRuntime(32258): ... 11 more
03-08 01:19:23.842: E/BatteryObserver(1180): usb Uevent not necessary.
03-08 01:19:24.152: E/DatabaseUtils(1530): Writing exception to parcel
03-08 01:19:24.152: E/DatabaseUtils(1530): java.lang.SecurityException: No permission to write APN settings: Neither user 10649 nor current process has android.permission.WRITE_APN_SETTINGS.
03-08 01:19:24.152: E/DatabaseUtils(1530): at android.app.ContextImpl.enforce(ContextImpl.java:1774)
03-08 01:19:24.152: E/DatabaseUtils(1530): at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1803)
03-08 01:19:24.152: E/DatabaseUtils(1530): at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:2260)
03-08 01:19:24.152: E/DatabaseUtils(1530): at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:1800)
03-08 01:19:24.152: E/DatabaseUtils(1530): at android.content.ContentProvider.query(ContentProvider.java:857)
03-08 01:19:24.152: E/DatabaseUtils(1530): at android.content.ContentProvider$Transport.query(ContentProvider.java:200)
03-08 01:19:24.152: E/DatabaseUtils(1530): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
03-08 01:19:24.152: E/DatabaseUtils(1530): at android.os.Binder.execTransact(Binder.java:407)
03-08 01:19:24.152: E/DatabaseUtils(1530): at dalvik.system.NativeStart.run(Native Method)
03-08 01:19:24.272: E/CliptrayService(1180): cliptrayEventReceiver :onReceiveandroid.intent.action.CONFIGURATION_CHANGED
03-08 01:19:24.272: E/Cliptraywindow(1180): error: clip count(20) does not match child view count(0)!!
03-08 01:19:24.842: E/BatteryObserver(1180): usb Uevent not necessary.
03-08 01:19:24.862: E/Parcel(320): Reading a NULL string not supported here.
03-08 01:19:24.862: E/Parcel(320): Reading a NULL string not supported here.
03-08 01:19:24.862: E/Parcel(320): Reading a NULL string not supported here.
03-08 01:19:24.862: E/Parcel(320): Reading a NULL string not supported here.
03-08 01:19:24.942: E/LGDMClient(32324): [DmDownloadService.java] [onCreate()] : [58] : DmDownloadService.onCreate()
03-08 01:19:24.982: E/WeatherApplication(32312): OPERATOR:OPEN
03-08 01:19:25.352: E/InputDispatcher(928): channel '434f4750 com.farsitel.bazaar/ir.cafebazaar.ui.pardakht.PaymentActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
03-08 01:19:25.352: E/InputDispatcher(928): channel '4363f988 com.farsitel.bazaar/ir.cafebazaar.ui.pardakht.PardakhtActivity (server)' ~ Channel is unrecoverably broken and will be disposed!