An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.
34.67k
stars
5.57k
forks
source link
[Expo Modules iOS] Values in dictionary are passed as Optionals #32692
Open
abulenok opened 2 weeks ago
Minimal reproducible example
https://github.com/abulenok/expo-bug-repro/tree/main
What platform(s) does this occur on?
iOS
Where did you reproduce the issue?
in a development build
Summary
Here is a function in
ios/NvmModule.swift
:When calling it from js with the following object, the swift code receives "boo" value wrapped in
Optional
.In the bare react native module "boo" value is passed without Optional. On Android this works properly.
Environment
Expo Doctor Diagnostics