-
Notifications
You must be signed in to change notification settings - Fork 44
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
RN 48+ Android issues #8
Comments
On top of this, I'm getting redbox errors due to Any tips on how to proceed? |
@kristfal We're having the same problem at the moment. |
A colleague is looking into it. Maybe we can add or remove some code which will send the touch event through. |
Thanks @RichardLindhout ... if you get a patch happening I'll message Rome2rio and try to push it through |
I've referenced this issue in the Readme to be as transparent as possible to new users. |
Can someone tell me on which react-native version this works? I'm currently thinking to make a downgrade. At the moment we are on 0.47.1 |
Is there an update on this? I'd like to use this package with 0.50.3. I can try to look into the issue if no one else is working on it. |
I think some trying to find a solution, but without success until now. If you find a solution then this would be awesome |
I made a PR with a possible fix. Im not super happy with it but I didn't found any other solution, except registering it to the app activity. |
@simonhoss Thanks a lot! Seems this function is not used?
|
This is the main function to prevent react-native using this view. This function comes from the interface Background: |
@RichardLindhout Hey! Want to merge this one in (along with the other fixes), or would you consider this repo stale? |
If you folks have tested any PR's and are happy with them then I can merge and publish - just let me know which ones :) I'm not currently using this library in my projects so I'm relying on you fine people to test changes. |
Have you guys tried using View's |
The problem is when you use pointerEvents that you set the pointerEvents on the transparent header view. When you now try to press a button which is behind that transparent header then the button gets not triggered, because the List which fills the complete screen is the responder. |
pointerEvents doesn't transmit its events through scroll views. See the examples on the project page to get an idea of use cases where you'd need to use this over pointerEvents. |
Any update on this one? |
@simonhoss I'm trying your solution, which looks promising. I'm using react-native-navigation, however, which requires that we extend I attempted to merge the two with the following:
but that produces this error on
Any ideas on possible workarounds? I feel like this is possibly related to a conflict with |
Hi @derekblank I had a look into the documentation and code from react-native-navigation. If you're using react-native-navigation then you don't need getMainComponentName, because react-native-navigation don't need it. The most important part is the Greets |
@simonhoss Thanks - I removed Perhaps it still doesn't like the way Edit/Update: I logged out the app's current activity and realized that react-native-navigation transfers the main activity from SplashActivity to NavigationActivity. |
I will have a look on this and give you feedback if I found something. |
@derekblank I created an issue for that here: simonhoss#3 Let us talk there so that we don't fill up this issue |
@martsie Do you still plan to merge in any PRs? I've been using @simonhoss 's branch, and it works well for me on Android. On iOS, |
Can you recap me on which pull request it is - is it #10 ? I can merge and publish today if you're happy with it and there are no backdoors hidden in it that would make me a temporary internet celebrity |
@martsie I've been using @simonhoss's branch for a while. No issues. |
Maybe it makes sense that I update the pull request first? Because I did some further changes on my repo. |
I looked through most of the code on @simonhoss 's branch the other day and didn't see any issues. Just a reminder that it currently isn't working on iOS until a string is added to the I can make a PR to fix those if it would be helpful. |
I'm happy to transfer ownership of the NPM to @simonhoss if you'd like - that may bump up the pace and it sounds like you're all using his branch anyway :) |
@traviswimer a PR is very welcome! @martsie for me that would be fine I still maintaining my fork. So I would say it makes sense 😉 |
@simonhoss message me on github with your npm username and I'll add you to the package and the change the readme for this project to send people over to your github. |
@martsie My npm username is simonhoss same as in github ;) |
@simonhoss I've added you as an owner on NPM - send me the word and I'll update the README of this repo to point to yours 👍 |
@martsie Thank you. Unfortunately I was not able to make a new npm version, because of some pressure in a other project. But new year, new chance 😄 I will try to change it this week lately next week! |
Yes please @simonhoss - maybe I can help out in the future. |
Alright. Thank you! |
In order to support the latest RN version (cant recall if this was changed in 48 or later), we'll need to drop the
@override
fromcreateJSModules
inTouchThroughViewPackage.java
.The open PRs to propTypes should also be merged to support the latest RN version.
The text was updated successfully, but these errors were encountered: