Skip to content

Commit 15736d4

Browse files
committed
rm getParameterCount calls
This method isn't compatible with Android 7 and older devices and causes a crash. AGP 8 (Android Gradle Plugin) added compatibility for this, however its not uncommon for app developers to still be on 7
1 parent 8f470c0 commit 15736d4

File tree

1 file changed

+0
-1
lines changed
  • OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/modeling

1 file changed

+0
-1
lines changed

OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/modeling/Model.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ open class Model(
9898
val method =
9999
this.javaClass.methods.firstOrNull {
100100
it.returnType != Void::class.java &&
101-
it.parameterCount == 0 &&
102101
it.name.equals(
103102
"get$property",
104103
true,

0 commit comments

Comments
 (0)