I need to implement next scheme:
1) App1 has some UI like signin/signup, and user's profile. But main functionality is creating specific http request to get/update token.
2)when tapping button at App2 - App2 calls App1, then App1 execute only http request, and return token to App2, like callback. And this actions should be invisible for user, maybe like empty screen with spinner
What is the best way to make it real? Is it possible for iOS?
To share data between apps I suppose use App Group and shared UserDefaults, but how to call some class/function?