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

This no longer works #203

Open
Highspeed7 opened this issue Feb 9, 2020 · 10 comments
Open

This no longer works #203

Highspeed7 opened this issue Feb 9, 2020 · 10 comments

Comments

@Highspeed7
Copy link

I don't know if it's the documentation that is old or what, but I cannot get this to work. Being that this seems to be the latest share extension available it's a pretty big let-down. Has anyone gotten this to work with React Native > 0.59? I'm coming with hardly any java knowledge and definitely no Android SDK knowledge. Following the provided readme with the repository, I'm unable to get this working.

@RamashishTomar
Copy link

me too i have been struggling with it on 0.61.2, no luck

@flo-wolf
Copy link

Any updates?

@olivernash
Copy link

also unable to get this to work on 061.5. I noticed there are a few forks that are further ahead and I thought they might work

@flo-wolf
Copy link

Went down that same rabbit hole. If you dont want to open each of the 267 forks individually to find out which one is the newest, go to "Insights" and then "Network" instead of "Forks". There you see a timeline and you narrow down the search quite a lot. Haven't continued this though, I can lead you only so far sadly...

@MacketSWE
Copy link

Need someone to come to the rescue here... Been trying for days and just can't get this to work. :-S

@braincore
Copy link

While I'm time constrained and cannot help directly, I can confirm that I followed the hodgepodge of directions in #182 and got it working in December for RN 0.61.5. Today, I successfully upgraded to RN 0.62.2, and while that had its fair share of issues, none were due to this extension.

@ajith-ab
Copy link

i ve used this package with all new features with react native greater than 0.60 support react-native-receive-sharing-intent

@kumbhar-ketan
Copy link

kumbhar-ketan commented Jun 1, 2020

This package works in latest react native as well. Follow the right steps given in the document or ReadMe file.

@Thanasis1101
Copy link

I am using react-native 0.61.5 and it worked after a simple change.
In AndroidManifest.xml I replaced this line:
android:theme="@style/Theme.Share.Transparent"
with this line:
android:theme="@style/AppTheme"

Of course now there is not a pop-up modal, but a full screen with the modal, but that was enough for me.
The thing is that the problem was around the android theme so maybe another transparent theme would do the job.

@pankti16
Copy link

pankti16 commented Jan 8, 2021

in styles.xml

<style name="Share.Window" parent="@android:style/Animation.Activity"> 
   <item name="android:windowEnterAnimation">@null</item>
   <item name="android:windowExitAnimation">@null</item>
</style>
<style name="Theme.AppCompat.Translucent" parent="Theme.AppCompat.NoActionBar">
    <item name="android:windowIsTranslucent">true</item>
    <item name="android:windowBackground">@android:color/transparent</item>
    <item name="android:windowContentOverlay">@null</item>
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowIsFloating">false</item>
    <item name="android:backgroundDimEnabled">true</item>
    <item name="android:windowCloseOnTouchOutside">true</item>
    <item name="android:windowAnimationStyle">@style/Share.Window</item>
</style>


and AndroidManifest.xml


<activity
    android:noHistory="true"
    android:name=".share.ShareActivity"
    android:configChanges="orientation"
    android:label="@string/title_activity_share"
    android:screenOrientation="portrait"
    android:theme="@style/Theme.AppCompat.Translucent" >
    
    The above changes worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants