PhoneNumberKit icon indicating copy to clipboard operation
PhoneNumberKit copied to clipboard

New number format in Brazil 0303 (telemarketing)

Open miliante opened this issue 1 year ago • 2 comments

I am a user of Simple Call Blocker on iOS. This app uses the PhoneNumberKit within its code to parse and display the phone numbers to be blocked by the phone. Recently in Brazil a new law makes compulsory for telemarketing to use a dedicated phone number prefix, 0303, which is not in-line with the current numbering format used by PhoneNumberKit. This new number has the format +55 0303 123-4567, where 0303 is fixed and 123-4567 changes. I checked the files in this repository and understood that it is just a matter of updating the PhoneNumberMetadata.json file with this new format (later I would request the programmer for Simple Call Blocker to recompile it and upload to the apple store). Unfortunately I am no Swift programmer and cannot make the alterations myself, test it and propose a PR, but I'd be very happy if someone could. Hopefully it is just that simple.

Thank you, TM

miliante avatar Jul 13 '22 13:07 miliante

Hey @miliante , That particular file is not maintained by the PhoneNumberKit itself, but time-to-time it is updated from the Google libphonenumber repository: https://github.com/google/libphonenumber. I would suggest to open an issue with them. When it is done from their side (and released) I would be happily update the implementation in PhoneNumberKit.

petermolnar-dev avatar Jul 15 '22 12:07 petermolnar-dev

Hello,

Thank you for your reply. I guess I did not go deep enough into the rabbit hole. I’ll contact them.

Have a great day.

From: Peter Molnar @.> Sent: Friday, July 15, 2022 7:02 AM To: marmelroy/PhoneNumberKit @.> Cc: miliante @.>; Mention @.> Subject: Re: [marmelroy/PhoneNumberKit] New number format in Brazil 0303 (telemarketing) (Issue #539)

Hey @miliante https://github.com/miliante , That particular file is not maintained by the PhoneNumberKit itself, but time-to-time it is updated from the Google libphonenumber repository: https://github.com/google/libphonenumber. I would suggest to open an issue with them. When it is done from their side (and released) I would be happily update the implementation in PhoneNumberKit.

— Reply to this email directly, view it on GitHub https://github.com/marmelroy/PhoneNumberKit/issues/539#issuecomment-1185476378 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMWYMWMK2MP5P23CBNFSCTVUFHJ3ANCNFSM53OZUWKA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AEMWYMWKHWPJKOOFHE4OOOLVUFHJ3A5CNFSM53OZUWKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI2UO6GQ.gif Message ID: @.*** @.***> >

miliante avatar Jul 21 '22 13:07 miliante

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 20 '22 04:09 github-actions[bot]