Pregunta

I am creating the library file(.a file) which will store the device token on the server, but as per my knowledge(i am very much naive in native ios) AppDelegate is not available in the library files and device token can only be received in the app delegate.Is there any other method to do the same. Any suggestion or help will be highly obliged.

¿Fue útil?

Solución

Its not possible.

The standard approach is you create one method to save device token and make it available for users so they can call your library method to save device token manually.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top