Skip to content

Commit 791f38e

Browse files
authored
Merge pull request #62 from maniac-tech/issue-61
fix: Revert the logic check to less than 23
2 parents f589465 + 74cce37 commit 791f38e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export async function startReadSMS(callback) {
4040
}
4141

4242
export const checkIfHasSMSPermission = async () => {
43-
if (Platform.OS === "android" && Platform.Version > 23) {
43+
if (Platform.OS === "android" && Platform.Version < 23) {
4444
return true;
4545
}
4646

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@maniac-tech/react-native-expo-read-sms",
3-
"version": "7.0.0",
3+
"version": "7.1.0",
44
"description": "Library to read incoming SMS in Android for Expo (React Native)",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)