My customer has hosted GraphQL API using was AppSync. We have working native code to access the same. Need guidance to implement in flutter using flutter_amplify.
Related
Is there any sdk or code out there that is example of directly connecting to the hyperledger fabric node with flutter.
I can use my flutter app with nodejs server and api's but it will depend on the api's so if it goes down then I can't access my app. So I'm trying to find is there any way that flutter can directly communicate with the hyperledger fabric node (peers) like there is nodejs, go and java sdks. is there any sdk out there for flutter or any other way to connect to the peer.
I tried finding sdk on github and google but i can't seem to find any. there is one out there but it is already deprecated.
github
No there is no SDK that will integrate directly with flutter. You need to build API's that will talk to Hyperledger fabric and You need to call those api's via flutter
I have been trying to create a Flutter app that uses SSO with my freshly made Microsoft Azure account. I have decided on oauth2 dependency, but I'm not sure what to put in redirect() and listen() methods.
Also, does my Azure App need to be web or mobile based? Any special tweaks?
Do I need a local web server running since it's accessing localhost?
I'm creating flutter application with Firebase authentication. But I need to store some recording files (mp3) to cloud storage. I need to use aws s3 as a requirement. So I tried to integrate the that with flutter.
I have found official plugin called amplify_storage_s3 on pub.dev
But I had to read from documentation I need to amplify authentication to use that.
I don't want to use amplify auth because I'm already done it with firebase authentication.
So what I can do?
Although awsmobile-cli has a feature for enabling and configuring an AppSync backend like:
awsmobile appsync enable
awsmobile appsync configure
It is prone to end up with a total irrelevant configuration: It creates DynamoDB tables in us-west-2 (Oregon), even if my project is located at eu-central-1 (Frankfurt). And it does so through its default "events" graphql schema. And after all, it does not appear on the MobileHub project console as a backend feature.
Now, the thing I want to do is adding an AppSync backend to AWS MobileHub project via the console. And then I can pull the changes from the cli once I am done i.e. modified the my graphql schema, attached the resolvers and engaged the datasources.
Is it possible as of now?
Unfortunately right now this is not possible via the Mobile Hub console. It is in the CLI roadmap to support importing existing AppSync resources.
As it is not possible to on Mobile Hub right now you could try to use serverless framework together with serverless-appsync-plugin. It allows you to write your infrastructure as code and to deploy it to AWS via CLI.
While Mobile Hub is kinda limiting, you can actually design more complex backend for your app with serverless tool. You can even set up lambda data sources for appsync. Here you can find some examples for different graphql API setups: https://github.com/serverless/serverless-graphql
If you have more or less complex schema it is a right solution to deploy it from CLI as AppSync console starts to lag with big schemas
I'm using Google Cloud Datastore and I'm ok with it, but I have faced with an issue: is it possible to access Google Cloud Datastore (not GAE) through JDO, JPA or Objectify?
If yes, how to authenticate and connect them?
The Cloud Datastore API does not currently provide client libraries that support JDO, JPA, or Objectify. However, we are working on porting the App Engine Java client library to work on the Cloud Datastore API, and that should enable JDO/JPA/Objectify as well.
https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/34