How can I Connect flutter app to aws iot-core? - aws-iot

I want to control aws IoT devices through the flutter mobile app. I registered the device in aws IoT things, Now how can I control that device through my mobile app

Related

If a native mobile app opens a browser, does it share local storage with the native browser?

I am looking at implementing a native mobile application that will have some authentication on it. This authentication data will be stored in cookies and local storage. There is already a web application that can be accessed via a browser on the mobile device which has the same authentication (SSO via Azure AD).
If the user is logged in on the mobile device's browser and has a valid session, let's say Safari on iOS, and then they open the native mobile application application, will the native mobile application detect the valid session from the mobile device's browser if it is using the same SSO?

How i can insert a Google Service Account as a device in registry of Google Cloud IoT

What i'm asking is if is possible (or nonsense) adding a service account as a Google Cloud IoT registry as a device. Actually i'm using a google library and the service account authentication flow to use the library eg. #google-coud/pubsub to push message to a pubsub topic defined into Google IoT Core registry ... but i cannot handle the app where the library is used as a device of the registry too! I've tried to create a device into Google Cloud IoT core with the public key of the service account but i cannot see heartbeat and telemetry event received ... of course because the service account is not seen as IoT device ...

Upload LOB mobile app to Azure Intune programmatically

I'm trying to add mobile application to my Azure tenant Intune programmatically. I can upload metadata for my app to the Intune but I can't upload my app binaries and as a result I can't install this application to the enrolled device.
I understand that after creating application metadata I have to upload application binaries and commit them with /commit endpoint but I can't find any info how to do this.

Mobile app using Firebase or Cloud Endpoints authentication with Google App Engine backend

I am developing a Mobile app (Ionic) with the backend in Google App Engine. This app needs to login using Google authentication and security interchange with Google App Engine (Python) application.
Google is showing 2 configurations to achieve this.
Mobile Client <-> Firebase <-> Google App Engine:
Mobile Client <-> Cloud Endpoints <-> App Engine:
In my current approach 1, the Ionic app is able to login to Google and exchange information with Firebase, Firebase is able to interact with Google App Engine, but I'm not sure how to get Ionic app to authentication and security interchange with Google App Engine.
Can I use this approach?
OR do I need to use 2 Mobile Client <-> Cloud Endpoints <-> App Engine
Thank you.
I am also running approach 1 for my application.
You will receive on your android client an authentication token from Firebase after login.
Next you need to pass this token to your cloud endpoints. See the following link:
Send Firebase Token from Android to Google Cloud Endpoints
You have to verify the token on Google App Engine. Please see:
How do I secure my Google Cloud Endpoints APIs with Firebase token verification?
and please see
Google Cloud Endpoints and user's authentication
for implementing your own custom Authenticator for your Cloud Endpoints
You are right in using the first approach as it enables you to benefit from the Firebase infrastructure and its added functionalities as stated on the platform’s page.
Now, the Authenticating Users on App Engine Using Firebase tutorial is an excellent example of assembling an app according to your first configuration. You may want to look at the Authenticating users on the server section for more details on how your Ionic app would interact with the App Engine server. It is explained that once your users are signed-in via the added Firebase Authentication user interface (on your Ionic app), the communication between the app and the server is handled through tokens as described here.
The second approach is also possible, but you will have to implement your own authentication mechanism or use a similar application framework as Flask. A framework which the application in the provided tutorial is already based on.

How to deploy a web app to azure-mobile.net?

I have an azure mobile services account and that gives me .azure-mobile.net web site URL for accessing mobile services APIs using REST.
I would like to deploy an ASP.NET MVC 5 web app to that domain which is basically the admin web site for my mobile app.
Using VS 2013, I am able to deploy to an azure web site .azurewebsites.net. But I would like to keep all stuff in the same domain. How can I deploy a web app to .azure-mobile.net ?
You can't!
azure-mobile.net is reserved for mobile services projects. The same way cloudapp.net is reserved for cloud services and azurewebsites.net for Azure Web Sites.
As for keeping stuff under same domain, I would use my own domain. The only small deviation from this mantra is that currently there is no support for custom domain for Mobile Services. While the compute and storage services (Cloud Services, Virtual Machines, Web Sites, Storage Accounts) do support custom domains. The good thing is that Mobile services also support CORS, so you shall not have issues consuming your APIs from another domain via JavaScript.
Learn more about:
HTML5 and Mobile Services.
Custom Domains for Azure Web Sites
Custom Domains for Cloud Services
Custom Domains for Storage Accounts

Resources