Closed Luuk closed 3 months ago
Hey there! It looks like there are issues installing it as a TurboModule (which I assume is what's going on here). Let me investigate further.
Facing same Error here, I've noticed if I change the names from "Ble" to "ble" it start working on dev environment. But when Trying to build I believe the library sets the name to CapitalCase again, and it breaks while building...
static EspIdfProvisioningESPTransport fromJs(jsi::Runtime &rt, const jsi::String &rawValue) { std::string value = rawValue.utf8(rt); if (value == "ble") { return EspIdfProvisioningESPTransport::Ble; } else if (value == "softap") { return EspIdfProvisioningESPTransport::Softap; } else { throw jsi::JSError(rt, "No appropriate enum member found for value"); } }
if (value == "ble") { return EspIdfProvisioningESPTransport::ble; } else if (value == "softap") { return EspIdfProvisioningESPTransport::softap; } else { throw jsi::JSError(rt, "No appropriate enum member found for value"); }
Thanks for reporting this. Please try v0.2.15 :)
I assume this is because of the new Expo 51 SDK using React Native 0.74.1. Any temporary fixes would be really appreciated.
Error building in fastlane: