Difference between gsheets and sheetsapi - flutter

Does anyone know the difference between using gsheets and SheetsApi inside of googleapis? It seems I won't be able to use gsheets since I'm aiming to use google_sign_in and apparently gsheets only allows service accounts. But I'm hoping I'll have better luck with SheetsApi.

The difference is ownership
Google APIs - sheets.v4 library is created by Google, the official one. So it includes all the APIs services, such as authentication and other Google Workspace apps
gsheets seems unofficial and it doesn't include other services for Google

Related

Allowing user to sign in with two google account in flutter

How can I request users access to two google account simultaneously in flutter?
I have been looking solution for a long time but could not find any. There are few answers available on the internet which suggest using two different projects. But, I doubt that this solution is practical as we need google verification while publishing the app.
And to extend this question a bit further, can we do the same for outlook?
For those who did not get the question
The way Salesforce has both personal and team inbox, how can I implement the same in flutter.
I believe we lack package to solve this problem.
Here is a resource that can be helpful.
https://developers.google.com/identity/protocols/oauth2/native-app
To keep listening to local web server, you can create HTTPServer

A real-time chat with admin in flutter

commerce app but I need to create a chat just between every user and admin like for problems and etc so anyone has an idea on how it can be done
I've been using AWS services for something similar. The quickest way around it is to use AWS Amplify (think of it as AWS's Firebase).
Here's an article describing how you can build a chat application with Amplify: https://aws.amazon.com/blogs/mobile/building-a-serverless-real-time-chat-application-with-aws-appsync/. Note that this article is from 2018, and it mentions AWS Mobile - which was replaced by AWS Amplify.
The example is for React, but you can easily build your Flutter front end for it. I'd recommend for now using this package, since it supports all the platforms(Android, iOS, Web): https://pub.dev/packages/amazon_cognito_identity_dart_2
If you need only Android and iOS at the moment (and you can wait for the web support), you can also try the official AWS Amplify Flutter: https://pub.dev/packages/amplify_flutter
In any case - you will need some sort of web socket based solution. GraphQL is I think the right way to go (AWS Amplify uses service called AWS Appsync - which is just their implementation of GraphQL).
I think this is a really general question, but I will share my little knowledge about the matter.
Well apart of implementing your own solution, with your own backend and/or websockets, you can also use Firebase to achieve it.
There are some services like getStream that provide some good packages, and all the main functionalities required from a chat, and also UI widgets for it. Of course, is not free.

Do I have to use API.AI to create an action for Google Home?

I have some experience building chat and voice agents for other platforms, but I’m not using API.AI to understand natural language and parse intents. Do I have to replace my existing solution with API.AI?
Not at all. The advantages of using API.AI in creating a Conversation Action include Natural Language Understanding and grammar expansion, form filling, intent matching, and more.
That said, the Actions on Google platform includes a CLI, client library, and Web Simulator, all of which can be used to develop an Action entirely independent of API.AI. To do this you’ll need to build your own Action Package, which describes your Action and expected user grammars, and an endpoint to serve Assistant’s requests and provide responses to your users queries. The CLI can be used to deploy your Action Package directly to Google, and you can host your endpoint on any hosting service you wish. Google recommends App Engine on Google Cloud Platform.
I found this explanation from the official page most helpful.
API.AI
Use this option for most use cases. Understanding and parsing natural, human language is a very hard task, and API.AI does all that for you. API.AI also wraps the functionality of the Actions SDK into an easy-to-use web IDE that has conveniences such as generating and deploys action packages for you.
It also lets you build conversational experiences once and deploy to many other platforms other than Actions on Google.
ACTIONS SDK
Use this option if you have simple actions that have very short conversations with limited user input variability. These type of actions typically don't require robust language understanding and typically accomplish one quick use case.
In addition, if you already have an NLU that you want to use and just want to receive raw text and pass it to your own NLU, you will also need to use the Actions SDK.
Finally, the Actions SDK doesn't provide modern conveniences of an IDE, so you have to manually create action packages with a text editor and deploy them to your Google Developer project with a command-line utility.
Google is pushing aggressively everybody to API.AI. The only SDK they have (Node.js) no longer supports expected events for instance. Of course, you don't need to rely on their SDK (you can talk to the API directly) but they may change the API too. So proceed with caution.

Captcha uses offline resources

I want to create a CAPTCHA verification of my application, my application is developed using GWT, which not use online resources.
I've tried with reCaptcha, but recaptcha have to access the api hosted in the google.com. Is there any ways to make it working in my local network which totally can not access any resource of the internet? thanks
You can use a local library like SimpleCaptcha.
Here an article that explain how to use it with GWT: http://www.javacodegeeks.com/2010/06/add-captcha-gwt-application.html

Where do I find Google.Apis.Contacts.v3 for .NET?

There is a lot of different Google API dlls for .NET, for example Google.Apis.Calendar.v3. But nothing for Contacts API.
Using older versions or other approaches is not a solution because I already use v3 of several APIs. I need to add a Contacts API.
The Contacts API v3 is supported by the the .NET library for the Google Data API:
https://code.google.com/p/google-gdata/source/browse/#svn%2Ftrunk%2Fclients%2Fcs%2Fsrc%2Fgcontacts
To learn more about its usage, please check the documentation:
https://developers.google.com/google-apps/contacts/v3/