Google Clould Messaging (iOS) places files in the application’s default application folder

I would like to enable UIFileSharingEnabledusers of my application to save some files on their PC. The problem is that the Google library puts files in the main Documents folder of my application, preventing me from specifying a different destination.

So, if I turn it on UIFileSharingEnabled, this is what the user can see and interact with (upload or delete!)

Files inside application document folder

3 folders belong to me, so I can easily move them, but files with 3 .plistare a problem. I can’t move them without breaking Google’s functionality.

I use Cocoapods to load them inside my project.

pod 'Google/Analytics', '1.0.7'
pod 'Google/CloudMessaging', '1.0.7'

Any idea on how to fix this? I am stuck in this situation. Thanks

+4
2

UPDATE: ​​ Firebase 3.4 1 2016 : " plist, FIRMessaging, ApplicationSupport". ()

. , GCM . (), , . Google , Firebase Cloud Messaging GCM. GCM Firebase. . :

  • com.google.iid-keypair.plist
  • com.google.iid-tokens.plist
  • g-checkin.plist
  • rmq2.sqlite

Firebase. , .

Firebase Messaging iOS. App Store temp Documents.

+1
0

Source: https://habr.com/ru/post/1610558/


All Articles