meganz / sdk

MEGA C++ SDK
BSD 2-Clause "Simplified" License
1.33k stars 509 forks source link

SDK-1065. SDK crash in "ares_get_android_server_list" #2555

Closed sergiohs84 closed 3 years ago

sergiohs84 commented 3 years ago

TODO:

  1. Modify c-ares sources to include crashlytics logs, concretely at ares_get_android_server_list().
  2. Prepare a patch with the differences to the original c-ares code and add it to <sdk>/patches/ares_android_c.patch
  3. Modify <android>/app/src/main/jni/build.sh to
    • Download crashlytics.h from GitHub's repo
    • Add the header to <sdk>/third_party/crashlytics.h
    • Apply the patch ares_android_c.patch
    • Ensure c-ares finds the crashlytics.h at building stage