We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4663cb6 commit 2c883d9Copy full SHA for 2c883d9
index.js
@@ -1,10 +1,10 @@
1
import { NativeModules, Platform } from "react-native";
2
3
-const { ConfReader } = NativeModules;
+const { RNGetValues } = NativeModules;
4
5
const iOSGetter = (key) => {
6
return new Promise(function (resolve, reject) {
7
- ConfReader.getKey(key, (error, data) => {
+ RNGetValues.getKey(key, (error, data) => {
8
if (error) {
9
reject(error);
10
} else {
@@ -16,7 +16,7 @@ const iOSGetter = (key) => {
16
17
const androidGetter = (key) => {
18
19
- return ConfReader.getKey(
+ return RNGetValues.getKey(
20
key,
21
(err) => {
22
reject(err);
0 commit comments