-
Notifications
You must be signed in to change notification settings - Fork 103
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
Update ShadowListener.java for newArch #80
base: master
Are you sure you want to change the base?
Conversation
Support newArch. - UIManagerModule is deprecated in favor of UIManager in the New Architecture.
@TajSinghESGI @aliyanlatif have you found out any solution of this crashing issue on android? |
yes i followed all the changes mentioned in this PR and it did the job for me and then i created patch package for it |
Can you give me that updated file now? |
I copy paste the code of this shadowlistener file and after that applied patch-package, but still error is getting in android. |
@rushant11 copy this code and replace it with the shadowListener.java file code, then create a patch package package com.curvedbottombar; import android.os.CountDownTimer; import com.facebook.react.bridge.ReactContext; import java.util.ArrayList; public class ShadowListener implements EventDispatcherListener { private Map<Integer, ShadowLayout> imageIds = new HashMap<>(); private CountDownTimer fadeTimer; public ShadowListener(ReactContext reactContext) {
} public void onAddView(ShadowLayout parent, View child) { @OverRide private void handleEvent(Event event) {
} public void tearDown() { |
Okay, It worked thank you. |
Support newArch.