I am making a cross platform game for Android and Ios.
I first focus on Ios.
An this is my problem.
I have to login to facebook, and I made a static class called NativeManager
This helps me to call a function and it will do the android part or the ios part of it.
But I want to log in to facebook so I call NativaManager::FacebookLogin() for example.
This will go to a mixed c++ / obj-c class and that goes to a pure obj-c class. Here in I have code
to login with facebook and I get a delegate callback that user is logged in.
But I have nu damn clue, how I can go all the way back and let the first class that called NativaManager::FacebookLogin()
now that the user is logged in.
I hope someones understands my question :S
any help is appreciated.