Status Update
Comments
lb...@gmail.com <lb...@gmail.com> #2
Hi,
Thank you for taking the time to improve libphonenumber!
We are looking into this and will respond as soon as possible.
vk...@google.com <vk...@google.com>
na...@google.com <na...@google.com> #3
Hi,
Thanks much for raising this issue. This is one of our known issue, which is not documented. Having phone numbers of this long are very rare. libphonenumber cannot do anything better here.
Reasons:
- JavaScript
Number
type has limitation of 2^53 (9007199254740992) as the max literal it can hold. When provided more than that like "90018408059449376"(17 digit), JS starts rounding the value. Unfortunately this is within the range of i.e 17 digit.possible phone number length - Both the alternatives leads to backward-incompatible changes as the type of the field '''national_number''' has to be changed; thus leading to client-side compile issue . Eg: setNationalNumber(1234) / conversions to payloads like JSON.
- Marking the field as
[jstype = JS_STRING]
- Or using new JS data type
BigInt
.
We will update FAQ at GitHub stating some of these points. Maybe you can compare with Number.MAX_VALUE and avoid such cases. Or post request to a Java/CPP/PY libphonenumber clients, as these langs have much more matured data type systems.
lb...@gmail.com <lb...@gmail.com> #5
+923146233552
ke...@gmail.com <ke...@gmail.com> #6
Well my phone is blocking me from my apps like my Google search engine by acting up .My Instagram doesn't work properly at all .
I even have connection issues like my wifi comes on when I'm on regular service and freezes my sessions and everything .
I even have connection issues like my wifi comes on when I'm on regular service and freezes my sessions and everything .
gi...@gmail.com <gi...@gmail.com> #7
Entonces como la instalo? hay un método para hacerlo correctamente???
Description
- Steps to reproduce the problem (including sample code if appropriate).
Create an app that requests to be able to install APK files:
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
Call this from your app:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !packageManager.canRequestPackageInstalls())
startActivityForResult(Intent(Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES).setData(Uri.parse("package:$packageName")), REQUEST_INSTALL_PERMISSION)
Run the app, and grant it the permission.
- What happened.
The app force-stops.
- What you think the correct behavior should be.
Shouldn't force stop when you actually GRANT the permission.
This happens usually when you deny a permission (and it doesn't force stop, just closes its process). Not the opposite.