+ All Categories
Home > Technology > Build Your Mobile App Faster with AWS Mobile Services (Part 2 - Twitter)

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

Date post: 17-Aug-2015
Category:
Upload: amazon-web-services
View: 254 times
Download: 2 times
Share this document with a friend
Popular Tags:
10
@GPJ GARETH PAUL JONES DEVELOPER RELATIONS
Transcript

@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


Recommended