Ionic google drive implement

thanks i’ll try. But
Put it above of your < script src=“myDir/js/apis.google.it.js”>< /script > .
what is?i need to download a .js ?

No. So to run this implementation of google drive you need 3 files:

  1. Drive.js
  2. Multipart.js
  3. Apis.google.it.js
    They are in the js folder of the ionic-google-drive project.
    But to implement this file he loads the script in this order:
    `
    …other scripts like cordova and angular… `

You should put this Client.js file above apis.google.com.js like this:
`

…other scripts like cordova and angular…

`

Of course the client.js file you can directly download from google like a CDN or download on your project js folder and make it available for offline use. Depends on what your application is actually doing.
But of course if your run the ionic-google-drive project on your browser with ionic serve it will not work due to needs cordova.
You have to run it directly into a device.
I hope I explained it clear.

Hi I’m trying to impliment @mrazadar ionic-google-drive service.

I get a popup window when calling the Drive.showPicker method.

But no content is loaded. Instead I get something that looks like a CORS error;

Can someone help with what I may be missing?

According to this SO post the OP says the second error is specific to the Chrome browser.

I haven’t started building for iOS so I can’t confirm that.