You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"You're using the react-native-document-picker library, which is no longer supported and has moved to @react-native-documents/picker. Things might not work as intended. Please migrate to the new library as soon as possible !",
32
-
);
33
-
}catch(err){
34
-
console.log(
35
-
'Neither react-native-document-picker nor @react-native-documents/picker are installed.',
36
-
);
37
-
}
37
+
if(NewDocumentPicker){
38
+
DocumentPicker=NewDocumentPicker;
39
+
}elseif(OldDocumentPicker){
40
+
DocumentPicker=OldDocumentPicker;
41
+
console.log(
42
+
"You're using the react-native-document-picker library, which is no longer supported and has moved to @react-native-documents/picker. Things might not work as intended. Please migrate to the new library as soon as possible !",
43
+
);
44
+
}else{
45
+
console.log(
46
+
'Neither react-native-document-picker nor @react-native-documents/picker are installed.',
0 commit comments