Skip to content

Commit

Permalink
fix(ios): expose getAllKeys: so we can access all keys from native
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbarclay authored Apr 21, 2021
1 parent 76bdcfd commit 8ff385a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/RNCAsyncStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@
- (void)multiSet:(NSArray<NSArray<NSString *> *> *)kvPairs
callback:(RCTResponseSenderBlock)callback;

// Interface for natively fetching all the keys from the storage data.
- (void)getAllKeys:(RCTResponseSenderBlock)callback;

@end

0 comments on commit 8ff385a

Please sign in to comment.