java.lang.SecurityException com.onesignal.OSUtils.getNetType

bug

#1

Android 8.0
java.lang.SecurityException :
at android.os.Parcel.readException (Parcel.java:1954)
at android.os.Parcel.readException (Parcel.java:1900)
at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo (IConnectivityManager.java:1216)
at android.net.ConnectivityManager.getActiveNetworkInfo (ConnectivityManager.java:903)
at com.onesignal.OSUtils.getNetType (OSUtils.java:193)
at com.onesignal.OneSignal.registerUserTask (OneSignal.java:1211)
at com.onesignal.OneSignal.access$2300 (OneSignal.java:80)
at com.onesignal.OneSignal$7.run (OneSignal.java:1166)
at java.lang.Thread.run (Thread.java:784)

What is the solution way that there is too much deadlock in this way? 130 crashes within two days


#2

@Italo
Help me please. Don’t solution


#3

Hi @Aksoyhlc,

On AppyBuilder please do NOT mention random people in a conversation. This can lead people to not help you.

In the new what I like to call, “Hoping to be merged ASAP” for AppyBuilder which I’m working on, I’ve already planned to redo the One Signal Notification component for use of their latest SDK features. It seems as maybe something wasn’t well documented in the code to prevent this from showing up. Within a few months if my, “Hoping to be merged ASAP” update is merged, then you should see this fixed.

Thanks for using AppyBuilder and providing feedback!


#4

I am sorry but Italo was moderator and expert, not random member :wink:


#5

Thank you, @zoran , you said what I wanted to say.


#6

You don’t just tag a random moderator, it doesn’t work that way.