We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup (always fill this in):
expo-activity-feed
Describe the bug expo-permissions has been removed from the latest expo release.
affected file: https://github.com/GetStream/react-native-activity-feed/blob/master/expo-package/src/index.js#L5
import { registerNativeHandlers } from 'react-native-activity-feed-core'; import * as Permissions from 'expo-permissions'; import * as ImagePicker from 'expo-image-picker'; registerNativeHandlers({ pickImage: async ({ compressImageQuality = 0.2 }) => { try { const { status } = await Permissions.askAsync(Permissions.CAMERA_ROLL); if (status !== 'granted') { return { cancelled: true, }; }
Resolution
import { registerNativeHandlers } from 'react-native-activity-feed-core'; import * as MediaLibrary from 'expo-media-library' import * as ImagePicker from 'expo-image-picker'; registerNativeHandlers({ pickImage: async ({ compressImageQuality = 0.2 }) => { try { const { status } = await MediaLibrary.requestPermissionsAsync(Permissions.CAMERA_ROLL); if (status !== 'granted') { return { cancelled: true, }; }
The text was updated successfully, but these errors were encountered:
Correct but how do we make changes to our projects since we cannot modify the node_modules/ at runtime
Sorry, something went wrong.
No branches or pull requests
Setup (always fill this in):
expo-activity-feed
1.1.0Describe the bug
expo-permissions has been removed from the latest expo release.
affected file: https://github.com/GetStream/react-native-activity-feed/blob/master/expo-package/src/index.js#L5
Resolution
The text was updated successfully, but these errors were encountered: