I want to connect my Flutter project with owncloud on my server. How do I do this? What do I study so I can do it?
You can use the Own Cloud External API. It allows third party developers to access data provided by ownCloud apps.
Related
I use ownCloud to self-hosted the servers and I want to use OS users to log in to the ownCloud web UI so everyone who has access to the servers will have access to the ownCloud web UI without creating a new user in Owncloud.
If it's impossible, is there any alternative to ownCloud which can do that?
Thank you.
HI im very new to back end and Im learning aqueduct since I know dart programming. My question is how can I deploy the aqueduct to my webserver? I have a hosting plan to a2hosting which Im currently using for my wordpress site and I wonder if I can deploy my dart server to cpanel so I can use them as a backend to my flutter app? Thanks for any answer!
It depends on many factors.
Generally I'd say "no can do".
Get a VPS and host it there.
It depends on if your cpanel hoster has access via ssh enabled, which they usually don't. But even then I'm confident the hoster won't allow long running apps on his shared hosting server.
Dart has to be installed on the host, which is usually not the case on shared hosting servers
You need some kind of external oauth2 service
You need a postgresql database server, which cpanel provides but your hoster might not
Aqueduct official deployment guides are found on the their official site.
No you cannot install dart sdk on a2hosting shared hosting plan. Even if they give you SSH access, you will not have enough permission to install DART SDK. But you can deploy you app on heroku for free. You will get enough resources to run your app. You can upgrade your plan later according to your needs.
Check the heroku documention to deploy aqueduct app
Deploying an Aqueduct Application on Heroku
I'm interested in hosting my flutter web app on linode.com and also using it as a backend for my flutter mobile apps as a more affordable alternative to Google Firebase and AWS.
I've seen some articles online about using Digital Ocean for flutter apps, but does anyone have an idea of how to use Linode.com for hosting Flutter apps?
Thanks again
You could use Digital Ocean tutorials for Linode.com. The main part of installing your app to server is setting up VPS, installing softwares, and many more are same on every hosting provider. The only difference might be user interface used for creating virtual server instances.
I have been working on a NativeScript project that uses an API. The API project is on my MacBook and haven't deployed to anywhere yet. It's based on Laravel and I use Laravel Valet as development environment.
I can't test the mobile app on iPhone because the app can't connect to local API URL. I know Valet has "share" command, but because the API consumes another API -which has IP restrictions-, it doesn't work for me. Sharing a local domain via Valet's share command is something like a proxy as I understand, so the consumed API doesn't work on that proxy.
I also checked articles about how to share Macbook's network with iPhone, but it only shares the same network. I can't access the local API still.
Is there any other way that can resolve my issue? Maybe a Docker based solution? I am not that good at Docker, but I can give a try if it is possible with it.
https://ngrok.com/ will happily expose your local Laravel Valet server.
Looks like there's a bit of a walk through on that here too https://mannyisles.com/using-laravel-valet-and-ngrok/ which may help?
I have a Raspberry Pi3 device which has Android Things dev preview 0.6.1 installed. On completing certain operations, the device needs to send data to Google Cloud Storage. To do so it must have an API key to authenticate itself.
In Android devices it could be done easily using by integrating Google Sign in Option but since my Android Thing device doesn't have any interface, Google Sign In could not be implemented in it.
I have gone through github project Android Things Weather Station Sample which is using Google Service Account to publish data to PubSub. To do so, it generates and imports a credential.json file into the project and somehow generates credentials from it.
So my question stands is, without user consent, can we use Google Service Accounts to authenticate with Google Cloud Storage? If yes, how can we generate access token from it ? If no, is there any other method to authenticate with GCS?
The simplest and most secure way to authenticate your IoT devices with Google Cloud is using Cloud IoT Core to publish data over MQTT or HTTP into Cloud Pub/Sub. Cloud IoT Core is a bridge designed to securely manage large fleets of devices and authenticate them with your cloud project.
Take a look at the SensorHub sample app on GitHub, which is similar to the weather station, but uses Cloud IoT Core to authenticate and publish instead.
As Shubham stated, using a service account is one way to authenticate devices. Otherwise you'd need to build a mobile companion app which you use to authenticate the user. Then you would have to transfer that token to the IoT device.
In case anyone faces the same issue, I found this document which has explained the way to authenticate devices with Google Cloud without the consent of a user.