The plugin may require some small set up action in order to compile in your device with no issues. If the plugin isn’t installed the settings window will be opened automatically in the Inspector view. If for some reason it wasn’t opened after you imported the plugin, go to:
Window → Mobile Social Plugin → Edit Settings
And just press Install Plugin button. If the installation was completed successfully you should see the message as shown in the picture below.
Note: After the Mobile Social Plugin is installed, your app size may be increased. This is because the Mobile Social Plugin Facebook part is built using the Unity Official Facebook SDK. If you are not using the plugin Facebook Part, feel free to remove it, by pressing
More Actions → Remove Facebook SDK
If you have other plugins in your project which requires an override to the main activity, you will need to merge such plugins with Mobile Social Plugin. You can find necessary info below.
- Android Native Compatibility
- How to compile Android Native JAR libs
- How to merge manifest with another android plugin
Setup for IOS
Note: This step is automatic after MSP 2.5+. All frameworks and dependencies will be added automatically on the building phase. But with Unity 5, this feature not yet working. You need to add it manualy as described bellow.
You should include following frameworks to your IOS XCode project
Here is an instruction how to do that.
Open your project. Click on The Solution Name (project setting will open). Click on "Build Phase Tab", Click on "+" button on "Link Binary".