Update ShadowListener.java for newArch#80
Update ShadowListener.java for newArch#80TajSinghESGI wants to merge 1 commit intohoaphantn7604:masterfrom
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.