You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried this library as it seemed to be the best option at the moment, but it didn't work for me. I debugged the JS and this is what I found:
Reading the bundle file is successful (the checkmark). But the next step, splitting it up by looking for "JSO-BEG" does not (the line with an X). This substring doesn't exist anywhere in my minified bundle.
In addition, I don't fully understand why the variable fileNames is passed into these functions as an empty array. As it's empty, that map() doesn't do anything. I'm guessing it should?
Obviously this code works by looking for flags in the bundle such as "JSO-BEG". I guess my newer versions of RN or Metro either use new flags (who knows what they are?) or doesn't use flags at all anymore? Note that I only tried this for ./gradlew assembleRelease (Android).
My version info:
metro: 0.66.2
react-native: 0.65.1
I'm guessing these flags were working for previous versions? Anyone know how the code can be fixed for the more recent versions?
The text was updated successfully, but these errors were encountered:
I tried this library as it seemed to be the best option at the moment, but it didn't work for me. I debugged the JS and this is what I found:
Reading the bundle file is successful (the checkmark). But the next step, splitting it up by looking for "JSO-BEG" does not (the line with an X). This substring doesn't exist anywhere in my minified bundle.
In addition, I don't fully understand why the variable
fileNames
is passed into these functions as an empty array. As it's empty, that map() doesn't do anything. I'm guessing it should?Obviously this code works by looking for flags in the bundle such as "JSO-BEG". I guess my newer versions of RN or Metro either use new flags (who knows what they are?) or doesn't use flags at all anymore? Note that I only tried this for
./gradlew assembleRelease
(Android).My version info:
metro: 0.66.2
react-native: 0.65.1
I'm guessing these flags were working for previous versions? Anyone know how the code can be fixed for the more recent versions?
The text was updated successfully, but these errors were encountered: