This repository has samples that demonstrate various aspects of the AWS Mobile SDK for Unity, you can get the SDK source on Github (https://github.com/aws/aws-sdk-net)
Other
161
stars
107
forks
source link
Add a Cognito Sync Developer Authenticated Identities Sample #13
My DeveloperAuthenticatedCredentials RefreshIdentity() is never get called and Unity is hanging to death. Have to kill unity to work again.
The "ContactProvider" it self works good for me, i get my valid token. But it will never get called by the DeveloperAuthenticatedCredentials by construct.
`
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Text;
using ThirdParty.Json.LitJson;
using Amazon;
using Amazon.CognitoSync;
using Amazon.Runtime;
using Amazon.CognitoIdentity;
using Amazon.CognitoIdentity.Model;
using Amazon.CognitoSync.SyncManager;
public class DeveloperAuthenticatedCredentials : CognitoAWSCredentials {
Hi,
please add a "Cognito Sync Developer Authenticated Identities Sample"! I can´t get this to work from the this doc: https://docs.aws.amazon.com/cognito/devguide/identity/developer-authenticated-identities/
My DeveloperAuthenticatedCredentials RefreshIdentity() is never get called and Unity is hanging to death. Have to kill unity to work again.
The "ContactProvider" it self works good for me, i get my valid token. But it will never get called by the DeveloperAuthenticatedCredentials by construct.
`
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Text; using ThirdParty.Json.LitJson;
using Amazon; using Amazon.CognitoSync; using Amazon.Runtime; using Amazon.CognitoIdentity; using Amazon.CognitoIdentity.Model; using Amazon.CognitoSync.SyncManager;
public class DeveloperAuthenticatedCredentials : CognitoAWSCredentials {
} `
Cognito Sync Unity3d Sample edited: ` public class MyOwnCognitoSyncManager : MonoBehaviour {
`
This would be very helpful for everyone. It´s so hard to get simple email & password auth with aws...
PLEASE! <3