Amazon Connect Streams Custom Login - amazon-connect

I need a way to implement amazon connect streams to our custom application.
I have tried amazon-connect-streams library to do so, but i couldnt find a way to bypass the default login which pops up in a seperate tab. Is there a way to create a custom login page for amazon connect streams and use that instead of the default one?
Or is it possible to make an api of our own and serve it to our front end so they can use it?

I also trying to do that, but no wat to do that.
But I got an idea with Dextr.
https://www.youtube.com/watch?v=n1IeW8nuH20
Just reverse engineer the process what they have done.
They have used amazon cloud formation service.
I think this will help you.
Best luck

Related

ReactJS and AWS-S3 Upload from the client side

I have a single page application built with ReactJS and MobX for the front end part, and ruby on rails for the backend part. I have an image drop zone container, and I want the user to be able to upload images, but all the uploading implementation to be done in the front-end part, and the backend only will receive the URL from the uploaded image. Is it possible to accomplish this with ReactJS without involving the server at all?
Yes there is a concept called as direct upload which you can use to do this. Here is an article by heroku to do this https://devcenter.heroku.com/articles/direct-to-s3-image-uploads-in-rails
You can also look into the gem carrierwave direct https://github.com/dwilkie/carrierwave_direct
You might also want to check out http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Presigner.html
and
https://www.npmjs.com/package/react-s3-uploader
If you are willing to use a easy to use managed service filestack.com is a good option.

Is it possible to substitute a server backend using Dropbox?

I am developing an iOS application (to be deployed on the App Store) that requires content updates on a weekly basis.
I understand that the best way to achieve this would be to use a server, where the app would query for new data and download responses in JSON. However I am not knowledgeable when it comes to HTML, PHP or MySQL and therefore am endeavoring to find an alternative.
Here's an idea: using Dropbox to substitute for a server backend. My app connects to one central Dropbox account, checks for new files, and downloads them if present.
Is this idea feasible? If not, are there any alternatives?
Dropbox cannot be a dependable substitute for your server/backend for following reasons:
Dropbox uses OAuth for authentication, which needs user interaction. You do not want your app users to go through Dropbox authentication with your 'common' credentials.
Users who have a Dropbox account or the app installed, will most likely use their own credentials to login which completely breaks your flow.
Drobox, although a good way of sharing and syncing files is not meant for more meaningful data like web services etc or user/database interaction etc. Just syncing JSON file may suffice your app's needs for now but from a long term perspective you want a proper back end.
As suggested in the comment by #tkanzakic you can use one of the substitution services if you don't want to get too technical on the backend.
I am pretty late to the party, but this is possible and not necessarily a stupid idea (though this depends on what you need). You might want to have a look at remote storage for example, which allows you to use Dropbox among other providers as backend.
For sure, you can use the Dropbox Sync API to achieve this (https://www.dropbox.com/developers/sync).

Amazon EC2 Server very basic questions

I am trying to develop my iOS application that requires a backend for simple CRUD functionality and also a server that helps me link up players and handle real-time multiplayer game logic.
I am using AWS DynamoDB to store my user's data and believe I would need to set up an EC2 instance to help me with my multiplayer game feature. I am completely new in this area and I hope to get some help in these few elementary questions:
Does the different instance (linux or windows) matter?
What language is it required to set up the server-side code? Or is server-side coding necessary?
If the language in the server-side is different from that of xcode's how does it handle the calls? (Please bear with me if this is really fundamental)
Is there any guide for setting up AWS EC2, and must those guide be specific to iOS for my app to work?
Thank you so much for all your help!
Probably
Whatever you want to use, and yes it is necessary
You have different options here, you can do everything from sockets to REST or SOAP.
An EC2 instance is, as far as your concerned, just a server running a back end service for your application. You need to figure how you want the application to work first. It doesn't matter if you decide to host it on ec2 or another service.

Need an advice on image hosting with web interface and API

I need a recommendation for some image hosting with a fancy web-interface for uploading pics and an API (or even better — an iOS SDK) to get those photos in a mobile app.
I'm aware of that question: Need recommendation for image hosting with API access. However, I don't need any image-uploading API, what I need is a way to populate galleries of photos to my iOS app users: upload the pics through a web interface, and then be able to retrieve all of them in the app. So there shouldn't be any user authentication in the mobile app, and the photos are meant to be public.
I'm looking into several flickr iOS API libraries, but I'm not sure if any of them can be used without user authentication — e.g. by anonymously pulling the galleries of some specific app-hardcoded user (me). Or maybe I'm overthinking and there's another suitable solution that I'm missing?
Any help is highly appreciated!
Ok, it turned out that Flickr is more or less the thing I needed — it obviously has a nice web-interface for managing your photos, and there are a bunch of components to access these galleries on iOS device (for instance, https://github.com/devedup/FlickrKit and https://github.com/lukhnos/objectiveflickr). Moreover, you don't need to log in to access publicly available photo sets and collections, so I decided to go for this option.
I am not sure if you would like to host this image hosting service by yourself.
if you don't, then you can take a look at ImageS3, https://github.com/images3/images3-play.
An open and free image hosting service run on top of Amazon S3. It is like other cloud image hosting service which provides REST api, web interface admin console.

iOS forum setup

If I wanted to have a user forum in my app would this be a way to set it up?
MySQL DB for the backend
PHP page for the web service
NSURLConnection to talk and receive from the web service
it would be fairly simple, plain text.
I'm sure there's a gazillion ways to set this up but this is the rout I was thinking.
You're not going to have a user forum in your app, you're going to access a user forum from your app. So any way you want to set up the forum on your server, including the one you suggest, will work fine provided there's a way to connect to it from iOS.
You can use NSURLConnection to access the forum, of course, but that class just manages the actual connection. You might find it easier to use a UIWebView as a mini-browser in your app, and simply point the web view at the appropriate URL.

Resources