indiecastfm / react-native-audio-streamer

A react-native audio streaming module which works on both iOS & Android
MIT License
132 stars 50 forks source link

Build Failed #26

Closed wazapenJr closed 5 years ago

wazapenJr commented 5 years ago
cinder92 commented 5 years ago

@wazapenJr have you found solution?

cinder92 commented 5 years ago

i just found the solution

You have to tell the compiler to ignore the attribute from the external library. The way to do that is to add this line in application tag:

tools:replace="android:allowBackup"

PS: To access the tools add xmlns:tools="http://schemas.android.com/tools" in the manifest tag at the top.

ithustle commented 5 years ago

@cinder92 did you build succeed in iOS ? I'm getting the following: Typedef redefinition with different types ('struct (anonymous struct at /Users/celiogarcia/Library/Developer/Xcode/DerivedData/bolada-ebkywcqdszgvdfcgcaqmidzuhhnk/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeModule.h:52:16)' vs 'struct RCTMethodInfo')