question

glen avatar image
glen asked

Solving Conflict of PlayFab Android Push and Facebook

I've discovered a conflict with the PlayFab Android Push Unity plugin and the Facebook Unity plugin. I'm currently using:

- Unity 5.4.5p5

- Facebook Unity plugin v7.9.4

- PlayFab Android push plugin "Push_Unity5_GPS10.0.1".

I can see there are duplicate Android libraries between the two conflicting plugins. However I'm not sure which I should keep and what kind of problems I may experience when removing duplicates. Should I keep the newer libraries?

The conflicting libraries are:

- appcompat-v7-23.4.0 (facebook) -> appcompat-v7-25.1.1 (playfab)

- support-v4-23.4.0 (facebook) -> support-v4-24.0.0 (playfab)

Any advice would be great!

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
1807605288 avatar image
1807605288 answered

Here's some relevant links:
https://github.com/PlayFab/UnitySDK/tree/master/AndroidPluginSrc/PushSrc_10.0.1
https://github.com/PlayFab/UnitySDK/tree/master/AndroidPluginSrc/PushSrc_8.4.0
https://github.com/PlayFab/UnitySDK/tree/master/Packages

Short answer:
We have a few supported versions of the libraries, and we'll be releasing a new one soon (using 11.something and FCM, instead of GCM).

It is very hard to get multiple Android plugins to play nice with one another. Sometimes two plugins are completely incompatible, and you have to use/find older versions that used the same libraries.

All available versions of our plugin are all open source, so if you need to make changes to build against another version of the Google jars, you will have to load our Android source project and do that yourself.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.