Skip to content
New issue

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

[Feature Request] Support for bare React Native app with expo sdk #151

Open
1 of 3 tasks
noumantahir opened this issue Jan 23, 2025 · 0 comments
Open
1 of 3 tasks
Labels
enhancement New feature or request

Comments

@noumantahir
Copy link

🌟 Feature Description
Update documentation for app using bare react-native with bare react-native project or add support for bare react-native

🧐 Use Case
I have a bare react native application with which I wish to integrate expo-share-intent so users can directly launch my app by sharing photos directly to my app.

I do already have expo sdk integrated with app and already using some on expo dedicated packages like expo-image. however when I try to use expo-share-intent I am hit by this bottleneck.

📱 Platform Support
Does this feature apply to:

  • Android
  • iOS
  • Both

🚀 Suggested Solution
If already support, add missing documentation snippets to add support for bare react-native application.
Else if it requires some code changes, would be great to have the supported

I tried update react-native.config.json as an alternative to plugin configuration suggested for expo's app.json, but apparently it's not as straight forward, but will be great if this can somehow be supported

module.exports = {
  dependencies: {
    'expo-share-intent':{
      "iosActivationRules": {
            "NSExtensionActivationSupportsText": true,
            "NSExtensionActivationSupportsWebURLWithMaxCount": 1,
            "NSExtensionActivationSupportsWebPageWithMaxCount": 1,
            "NSExtensionActivationSupportsImageWithMaxCount": 2,
            "NSExtensionActivationSupportsMovieWithMaxCount": 1,
            "NSExtensionActivationSupportsFileWithMaxCount": 1
          },
          "iosShareExtensionName": "ExpoShareIntent Example Extension",
          "androidIntentFilters": ["text/*", "image/*", "video/*"],
    }
  },
  assets: ['react-native-vector-icons', './src/assets/fonts'],

💡 Additional Context

🙏 Thank You
Thanks for taking the time to suggest this feature! Your input helps us make this project better for everyone.

@noumantahir noumantahir added the enhancement New feature or request label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant