Regarding Firebase and Cocos2dx

As the sdkbox firebase plugin supports analytics only and there’s no updates yet about which other services are coming…, what would be the best way if I have to use firebase’s other various products like database, cloud function, cloud messaging etc ?

  1. Using c++ sdk ? which is 960 mb of size and how much it will affect the package size? Can anyone share their experience?
  2. Integrating into native java for Android and iOS sdk for iOS separately.
    What would be the better option ?

I have adopted approach #1, the relevant dex files occupy around 1MB in the output apk.