Comments (7)
Recreating this issue in another project has made me realise I missed adding the new SharePackage()
to protected List<ReactPackage> getPackages()
. Closing issue now..
from react-native-share-extension.
Have you import the modules in either xcode or android studio? close function is an exported function coming from native side.
from react-native-share-extension.
This might be why it works on iOS and not Android. By import do you mean in the Build Settings for Xcode and via Gradle in Android Studio?
If so then yes, I've linked all the headers in Xcode and gradle has been set to package react-native-share-extension as required:
settings.gradle:
rootProject.name = 'ProjectName'
`include ':app', ':react-native-share-extension'`
project(':react-native-share-extension').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-share-extension/android')
It is also added as a dependency in build.gradle
It might be worth mentioning I run using react-native run-android
from react-native-share-extension.
have you read and apply all the required settings in here android doc. Also have you tried with sample project? Are you still getting an error? I think you missed one important things from doc, Check it again.
from react-native-share-extension.
Pretty sure I've applied all steps in the sample doc. Once I did it all I ran through Android Studio, which installed all the dependencies through gradle for me.
Also after trying to set up the project it seemed to halt on the device, refusing to open, but based off the example PROJECT everything looks fine..
from react-native-share-extension.
@brenwarwcdg if you can create an project example in github and send the url to me so I can debug it and see if I can find a solution for it. That's the only thing I can help you with.
from react-native-share-extension.
Thank you very much for offering. I'm porting it over now..
from react-native-share-extension.
Related Issues (20)
- Issue HOT 5
- Sharing from browser: real iOS device receives page title, simulators receive URL HOT 2
- Video File Issue? HOT 1
- Audio and Video share empty value problem HOT 5
- not able to share image from google photos when app in background HOT 1
- Share extension opens up different instance of application HOT 4
- This no longer works HOT 10
- Error after clicking on my app icon during sharing (Expokit, Android) HOT 1
- 0.62.2 (Podspec) HOT 1
- 0.62.2 issue HOT 2
- 🔥How to clear image from bundle when app goes in background after receiving image prop HOT 1
- Working in React Native 0.62.2 (iOS) HOT 18
- What file extensions are allowed? HOT 1
- ERROR: File not found #import "React/RCTBridgeModule.h" HOT 1
- Cannot find lDoubleConversion HOT 1
- share ActionExtension not working with firebase
- expo-dev-client / EAS build integration? HOT 1
- Not getting Url when sharing image from Google to share extension ( Android)
- Cant share screenshot on ios
- Invariant Violation: "passages" has not been registered. This can happen if:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-share-extension.