Your approach is correct - but the FuseJS standard libraries may be missing browser APIs that the AWS lib depends on. We are currently researching that.
We are trying to work with AWS Cognito and AWS S3. I did a PoC with the latest version for AWS Javascript SDK and I am getting a “System.Exception” in FUSE. We can do it using Foreign code but we have more experience with Javascript and if AWS Javascript SDK works in FUSE, we don’t need to write twice the same code to support iOS & Android.
Do you have any plan to support the AWS Javascript SDK?
I can’t promise that we are going to support it, because it is a huge library not written for our platform. And we are not able to replicate all the browser functionality, but I will take a look to see how far I can get.
Just a suggestion, but it would be amazing if at least you could get the combination of API Gateway, AWS Lambda, and Dynamo DB to work. That way you could construct an alternative serverless infrastructure for FUSE apps using AWS via the SDK.
I have made progress on this (some fixes in the libs need to roll out first). I don’t know what parts of the SDK will work yet, but S3 storage seems to work successfully.