microsoft / appcenter-sdk-android

Development repository for the App Center SDK for Android
Other
276 stars 134 forks source link

DistributeListener interface methods are not called on React native Android. #1672

Closed suhaspathak closed 1 year ago

suhaspathak commented 1 year ago

Created the React Native project. We are native approach implementing iOS and Android distribution for release builds to end user devices.

We are implemented App Center Distribute for the Android In-app updates but following methods never called:

  1. public boolean onReleaseAvailable(Activity activity, ReleaseDetails releaseDetails)
  2. public void onNoReleaseAvailable(Activity activity)

Please let me know how to fix this issue.

MikhailSuendukov commented 1 year ago

Hi @suhaspathak and thanks for contacting us. Please enable verbose logging for your app using AppCenter.setLogLevel(Log.VERBOSE) before your call to AppCenter.start(...) and include the logs here. It will also be very helpful if you attach a small demo application that reproduces your error.

DmitriyKirakosyan commented 1 year ago

@suhaspathak , Distribute isn't supported for ReactNative projects. The active feature request https://github.com/microsoft/appcenter-sdk-react-native/issues/225