/BigIntIssue

Issue with bigInt on android

Primary LanguageJava

Replicating Issue with BigInteger on android

Problem

Using BigInteger on android on either release build or without debugging mode enabled, the type of data returned is object but with debugger, the data type is bigint.

Using BigInt on iOS returns bigint data on either of the environments.

Solutions tried

Find screenshots below for data type returned on both android and iOS

Without Debugger

  • Android without debugger

    Android without debugger

    Data returned here is of type object instead of bigint

  • iOS without debugger

iOS without debugger

With Debugger

  • Android with debugger

Android with debugger

Data returned here is of type bigint as expected

  • iOS with debugger

iOS with debugger

Running the application

  • npm i

  • npm run android

    Toggle developer menu to see the data type returned on each mode.