10
@GPJ GARETH PAUL JONES DEVELOPER RELATIONS

Build Your Mobile App Faster with AWS Mobile Services (Part 2 - Twitter)

Embed Size (px)

Citation preview

@GPJ

GARETH PAUL JONESDEVELOPER RELATIONS

+

// Create a digits button and callback

DigitsAuthButton digitsButton = (DigitsAuthButton) findViewById(R.id.auth_button);

digitsButton.setCallback(new AuthCallback() {

@Override

public void success(DigitsSession session, String phoneNumber) {

println(phoneNumber)

}

@Override

public void failure(DigitsException exception) {

// Do something on failure

}

});

DIGITS CODE EXAMPLE

Digits code that performs full SMS auth and provides simple

callback() on success

AWS

LambdaCognito DynamoDB

DEMO

WHY WE LOVE AWS

• Cognito integrates seamlessly with great identity tools

like Twitter/Digits

• Lambda helps mobile developers build infinitely scable,

simple back-end services

• Storage options are easily configurable and swappable

(DynamoDB vs. Postgres vs. S3)

USE CASES

• Deliver notifications or offers to user via Amazon SMS

• Connect with existing CRM solution to pre-populate user

experience (Frequent Flyer status, Rewards member,

etc.)

• Track in-app activity for personalization or A/B testing

• Protect against bot/spam abuse through phone

verification

DIGITS.COM