Skip to content

Commit fb0fc32

Browse files
authored
Merge pull request #2416 from OneSignal/add-test-in-app-message
tests: more tests for InAppMessagesManager and LocationManager
2 parents 411907a + 47ba05b commit fb0fc32

File tree

5 files changed

+1814
-54
lines changed

5 files changed

+1814
-54
lines changed

OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/AndroidUtils.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ object AndroidUtils {
6868
return appVersion?.toString()
6969
}
7070

71+
// return Build.VERSION.SDK_INT; can be mocked to test specific functionalities under different SDK levels
72+
val androidSDKInt: Int = Build.VERSION.SDK_INT
73+
7174
fun getManifestMeta(
7275
context: Context,
7376
metaName: String?,

0 commit comments

Comments
 (0)