Top Banner
@GPJ GARETH PAUL JONES DEVELOPER RELATIONS
10

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

Aug 17, 2015

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Build Your Mobile App Faster with AWS Mobile Services (Part 2 - Twitter)

@GPJ

GARETH PAUL JONESDEVELOPER RELATIONS

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

+

Page 4: Build Your Mobile App Faster with AWS Mobile Services (Part 2 - Twitter)
Page 5: Build Your Mobile App Faster with AWS Mobile Services (Part 2 - Twitter)

// 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

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

AWS

LambdaCognito DynamoDB

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

DEMO

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

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)

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

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

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

DIGITS.COM