Comments (5)
Thanks for reporting, basically a duplicate of #36. closing to keep all discussions in 1 topic
from jsc-android-buildscripts.
The plot thickens -- if I force resolve the non intl
flavor of android-jsc
in my build.gradle
config, not only does the above code block execute fine, but it appears that the (more complex) language i18n functionality also works properly, at least with ru-RU
as the locale.
I've confirmed that the build.gradle
was being respected by inspecting the JSC related .so
files in the generated apk, and comparing the sizes against the known configuration build sizes; so I know that the intl
and non-intl
flavors haven't somehow become reversed... very puzzling behavior!
from jsc-android-buildscripts.
@ericketts is there any chance you can send me *.apk file where it actually works?
edit
Turning off intl just sets everything to en-US locale, instead of crashing with intl turned on...
from jsc-android-buildscripts.
@Kmakinator you'd like me to send you an apk built with the non-intl
flavour? That's the only case where it works presently...
I'm happy to do that, but would need to put together a minimal repro (since the actual APK contains IP I cannot release), so want to make sure I understand you properly before spending the time creating the minimal repro...
from jsc-android-buildscripts.
So a bit more information, it turns out that unbeknownst to me, in the case of the non-intl
flavored JSC being used, the Intl
API was being polyfilled. If I prevent the polyfill from happening, everything is broken as you'd expect.
So this ticket now is solely about the intl
flavor JSC failing when calling Intl.NumberFormat#format
as outlined in the root comment.
from jsc-android-buildscripts.
Related Issues (20)
- 245459.0.0 native crash
- [Docs] Can't locale "useIntlJsc" in RN 0.64 HOT 3
- Looking for maintainers HOT 3
- statvfs build error
- Missing libjsc.so in the arm64 build HOT 1
- does it work with Expo sdk 40? HOT 1
- jsc default create 128M MemoryPoolSize on arm64, that's to big HOT 2
- FormatDate(FormatJS) returning for some locale as M09, M08 (M + month number) only on android HOT 1
- Build failed: undeclared identifier 'u_charDirection' HOT 1
- Upgrade JSC past 260345 HOT 19
- 250230.2.1 arm64-v8a Crash signal 4 (SIGILL), code 1 (ILL_ILLOPC) HOT 2
- Add support for dateStyle and timeStyle on toLocale*String functions
- Help! Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x48 HOT 1
- 294992.0.0 arm64-v8a Crash signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
- Android JSC Intl do not support signDisplay option
- I can't get a license from this project [Android] HOT 1
- React Native `v0.71.0` uses an outdated version of `jsc-android` (NDKs mismatch and causes crash) HOT 1
- 250230.2.1 armeabi_v7a Crash signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x30 on Samsung family phones HOT 7
- Non-standard ownProperty `length` on AsyncGenerator and AsyncFunctionPrototype
- Installed 294992.0.0 but JSC reports version 250231.0.0 on startup. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsc-android-buildscripts.