iziz / libPhoneNumber-iOS

iOS port from libphonenumber (Google's phone number handling library)
Apache License 2.0
2.35k stars 461 forks source link

How to update Metadata automaticlly from google/libphonenumber? #283

Open sysail opened 4 years ago

sysail commented 4 years ago

I found that there're always metadata outdate. This iOS project can't update on time after google/libphonenumber updating. Can we update the metadata automaticlly?

eytanbiala commented 4 years ago

Is there a documented way to update the metadata manually?

futuretap commented 3 years ago

See https://github.com/iziz/libPhoneNumber-iOS/issues/258. Also, there's a fork with the current metadata as of now: https://github.com/life360/libPhoneNumber-iOS

rockebee commented 3 years ago

Hi @eytanbiala, not sure whether the question is still valid, but just in case: I have prepared a pull request (PR #340) with updated metadata and documented the required taken steps therein. I'm waiting for @paween to take a look onto it, and hopefully it can be merged soon and released as a 1.0.3 version afterwards (PR #341).

With the documented approach I think an regular update of the metadata would be possible without much effort. I'm not sure though how an automated approach should look like - you mean something like on build time?