Skip to content

Commit 9d02d86

Browse files
committed
fix: add better warning log
1 parent d4f9eaa commit 9d02d86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package/expo-package/src/optionalDependencies/takePhoto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ try {
1010

1111
if (!ImagePicker) {
1212
console.log(
13-
'expo-image-picker is not installed. Installing this package will enable campturing photos through the app, and thereby send it.',
13+
'expo-image-picker is not installed. Installing this package will enable capturing photos and videos(for iOS) through the app, and thereby send it.',
1414
);
1515
}
1616

package/native-package/src/optionalDependencies/takePhoto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ try {
66
ImagePicker = require('react-native-image-picker');
77
} catch (e) {
88
console.log(
9-
'The package react-native-image-picker is not installed. Please install the same so as to take photo through camera and upload it.',
9+
'The package react-native-image-picker is not installed. Installing this package will enable capturing photos and videos(for iOS) through the app, and thereby send it.',
1010
);
1111
}
1212

0 commit comments

Comments
 (0)