This repository was archived by the owner on Jan 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,13 @@ export default class App extends Component {
105
105
} } >
106
106
< Text > Abandon Permissions</ Text >
107
107
</ TouchableOpacity >
108
+ < TouchableOpacity
109
+ style = { styles . button }
110
+ onPress = { ( ) => {
111
+ this . notif . getScheduledLocalNotifications ( notifs => console . log ( notifs ) ) ;
112
+ } } >
113
+ < Text > Console.Log Scheduled Local Notifications</ Text >
114
+ </ TouchableOpacity >
108
115
109
116
< View style = { styles . spacer } > </ View >
110
117
Original file line number Diff line number Diff line change @@ -109,4 +109,8 @@ export default class NotifService {
109
109
abandonPermissions ( ) {
110
110
PushNotification . abandonPermissions ( ) ;
111
111
}
112
+
113
+ getScheduledLocalNotifications ( callback ) {
114
+ PushNotification . getScheduledLocalNotifications ( callback ) ;
115
+ }
112
116
}
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ PODS:
292
292
- React-cxxreact (= 0.62.2)
293
293
- React-jsi (= 0.62.2)
294
294
- ReactCommon/callinvoker (= 0.62.2)
295
- - RNCPushNotificationIOS (1.1 .1):
295
+ - RNCPushNotificationIOS (1.2 .1):
296
296
- React
297
297
- Yoga (1.14.0)
298
298
- YogaKit (1.18.1):
@@ -453,10 +453,10 @@ SPEC CHECKSUMS:
453
453
React-RCTText: fae545b10cfdb3d247c36c56f61a94cfd6dba41d
454
454
React-RCTVibration: 4356114dbcba4ce66991096e51a66e61eda51256
455
455
ReactCommon: ed4e11d27609d571e7eee8b65548efc191116eb3
456
- RNCPushNotificationIOS: a0b6894f4ad9b93d9dac467fdf4d055660ac8a0d
456
+ RNCPushNotificationIOS: 5878fb73cb1a8a78c3a1a0834d969b01553836d0
457
457
Yoga: 3ebccbdd559724312790e7742142d062476b698e
458
458
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
459
459
460
460
PODFILE CHECKSUM: 56c2537f71f3f02200d6918c542a8e89a0b422fa
461
461
462
- COCOAPODS: 1.9.1
462
+ COCOAPODS: 1.9.2
Original file line number Diff line number Diff line change 7
7
"ios" : " react-native run-ios" ,
8
8
"start" : " react-native start" ,
9
9
"test" : " jest" ,
10
- "lint" : " eslint ."
10
+ "lint" : " eslint ." ,
11
+ "pod-install" : " cd ios && pod install"
11
12
},
12
13
"dependencies" : {
13
14
"@react-native-community/push-notification-ios" : " ^1.1.1" ,
You can’t perform that action at this time.
0 commit comments