- Home /
Facebook SDK for Unity/Android: Change Activity (Class) Name without affecting live app?
I'm migrating an existing Android game that's made in Cocos2d-x into Unity. The existing Cocos2d-x game uses the Facebook SDK for logging in. In the Facebook Developer dashboard, under Android, the Class (Activity) Name is set to com.domain.appname.GameActivity
.
I'm currently testing the Unity version. The problem is that in order to test the Facebook SDK for Unity, I need to change the Class Name to com.facebook.unity.FBUnityDeepLinkingActivity
. The existing Cocos2d-x app is live, so if I change the Class Name, I assume the Facebook SDK will stop working for the live app.
How would I go about changing the Class Name without affecting the live app? Is it possible to have multiple Class Names?
I didn't find a solution for this. What I did was to just implement the Facebook SDK last, after all the other features have been implemented. This way, the down time for the Facebook SDK is $$anonymous$$imal.