Giter Site home page Giter Site logo

Comments (7)

elringus avatar elringus commented on May 24, 2024

Do they provide an API for that?

from unity-google-drive.

DavidJH2 avatar DavidJH2 commented on May 24, 2024

Do they provide an API for that?

Yes: https://developers.google.com/drive/api/guides/push

Though, I don't know enough to know if it is applicable here

from unity-google-drive.

elringus avatar elringus commented on May 24, 2024

You'd need to run your custom server/endpoint to receive google's notifications and propagate notifications to the devices yourself.

from unity-google-drive.

DavidJH2 avatar DavidJH2 commented on May 24, 2024

You'd need to run your custom server/endpoint to receive google's notifications and propagate notifications to the devices yourself.

That's what I had suspected. Maybe a Unity Server?

What about this: https://developers.google.com/drive/api/reference/rest/v3/changes/watch

from unity-google-drive.

elringus avatar elringus commented on May 24, 2024

They require https endpoint to call back to, so it won't work with a unity build/server. Basically, you have to maintain custom web app, that will invoke the watch endpoint you've mentioned to receive callbacks. You'll then have to manage connections with the clients to push/route notifications to them.

from unity-google-drive.

DavidJH2 avatar DavidJH2 commented on May 24, 2024

They require https endpoint to call back to, so it won't work with a unity build/server. Basically, you have to maintain custom web app, that will invoke the watch endpoint you've mentioned to receive callbacks. You'll then have to manage connections with the clients to push/route notifications to them.

Are you sure? I under stand that Notifications require this, but changes.watch (https://developers.google.com/drive/api/reference/rest/v3/changes/watch) seems to to have the same Request method as files.list for instance.

In fact I wonder if it's not already available?

from unity-google-drive.

github-actions avatar github-actions commented on May 24, 2024

This issue is stale because it has been open 14 days with no activity. It will be automatically closed in 7 days.

from unity-google-drive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.