I have created an account on AWS, as well as a DynamoDB. I have also set the permissions. Basically, I have followed this article to a T docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/getting-started-store-retrieve-data.html
But when I try to save a value into the table I get this error:
"The type initializer for 'Amazon.Util.CryptoUtilFactory' threw an exception."
As you can see the error itself is very vague.
Here is my code:
var Cred = new CognitoAWSCredentials("MY_IDENTITY_ID", RegionEndpoint.USWest2);
var dynamoClient = new AmazonDynamoDBClient(Cred, RegionEndpoint.USWest2);
var dynamoContext = new DynamoDBContext(dynamoClient);
Nearby_Favorites newFav = new Nearby_Favorites()
Id = 1,
PlaceName = Details.result.name,
PlaceId = Place.place_id,
Latitude = Place.geometry.location.lat.ToString(),
Longitude = Place.geometry.location.lng.ToString(),
Vicinity = Place.vicinity
Any help on this would be greatly appreciated.