The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package push receives push notifications on phones: APNs on iOS, and Firebase
Cloud Messaging on Android. It tells the token that the app's server sends to.
iOS needs the Push Notifications capability in the app's provisioning
profile. Android needs a Firebase project: give Configure its values, as in
its google-services.json. Elsewhere its functions report
errors.ErrUnsupported.
OnOpened calls fn on the main thread as the user taps a push's notification, with
what it carries, as JSON: also the tap that launched the app, once this listens,
so call it as the app is ready.
Register asks the user to allow notifications, and returns the token that
the app's server sends them to, which may change: see OnToken. Call it off
the main goroutine, as it waits for the user.