Hi! I'm not sure this question is actually solvable, but hopefully someone with a bit better understand of iOS can either confirm this or give me some new ideas.
Basicly, I have a library created in kotlin multiplatform, which gets exported as a static library. This library somehow needs to access the device-token that comes from
didRegisterForRemoteNotificationsWithDeviceToken
in UIApplication.
Since it is a static library I do not see away for it to ever succeed with getting the device id through
didRegisterForRemoteNotificationsWithDeviceToken
does someone know of another way or is this actually possible?