Open guptaprnv opened 9 months ago
crash
log
internalThrowError(char const, unsigned int, folly::Range<char const> const&, char const, ...)+240) (BuildId: 3e2266b2be9ec657d8b6bb152c7ca3d3a0fba249)
2023-11-22 20:36:10.543 32130-32130 DEBUG pid-32130 A #08 pc 000000000004ca7c /data/app/~~153yHTZ-KUbEAyMT-m8U9A==/com.company.app-rev2r9HasOx2J2TDjP_Ryg==/base.apk!libspectrumcpp.so (facebook::spectrum::image::metadata::Entry::MemoryLayout::extractValue(facebook::spectrum::image::metadata::ReadContext const&) const+408) (BuildId: 3e2266b2be9ec657d8b6bb152c7ca3d3a0fba249)
2023-11-22 20:36:10.543 32130-32130 DEBUG pid-32130 A #09 pc 000000000004e9d8 /data/app/~~153yHTZ-KUbEAyMT-m8U9A==/com.company.app-rev2r9HasOx2J2TDjP_Ryg==/base.apk!libspectrumcpp.so (facebook::spectrum::image::metadata::Entry::parseFromAddressIntoTagMap(facebook::spectrum::image::metadata::ReadContext const&, unsigned char const, std::ndk1::map<facebook::spectrum::image::metadata::Entry::Tag, facebook::spectrum::image::metadata::Entry, std::ndk1::less
we were getting crash in android in react native 72.6 so we tried to match soloader versions in both and using custom aar from master but issue currently happening is try catch blocks not working of spectrum i have added configuration in spectrum build.gradle
externalNativeBuild { cmake { arguments '-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=c++_shared' cppFlags "-frtti -fexceptions" targets 'spectrum' } }
but still try catch blocks not working specification react-native - 0.72.6 soloader - 0.10.5 master branch spectrum