Skip to content

Commit 7bf5f49

Browse files
authored
Merge pull request #2329 from OneSignal/fix/gradle7-with-android7-and-lower-crash
[Fix] Android 7 and lower crashes with getParameterCount calls, when the app is built with AGP 7 or older
2 parents 29314f2 + 15736d4 commit 7bf5f49

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)