SlideShare una empresa de Scribd logo
1 de 42
Descargar para leer sin conexión
iBeacon
What’s new in iOS 7

Friday, 25 October, 13
About Me
• Co-Founder of Getting Real Software
• Specializes in mobile solutions for SMEs and
businesses

• iOS and Ruby on Rails Developer

Friday, 25 October, 13
What is iBeacon?

• An extremely accurate locating system

Friday, 25 October, 13
What is iBeacon?
• An extremely accurate locating system
• Runs on Bluetooth Low Energy (BLE)

Friday, 25 October, 13
What is iBeacon?
• An extremely accurate locating system
• Runs on Bluetooth Low Energy (BLE)
• Possibly the death of NFC

Friday, 25 October, 13
What Can It Do?

• Allow for extremely accurate ranging, even
indoors

Friday, 25 October, 13
What Can It Do?
• Allow for extremely accurate ranging, even
indoors

• Broadcast on a near-permanent basis - very
power efficient

Friday, 25 October, 13
What Can It Do?
• Allow for extremely accurate ranging, even
indoors

• Broadcast on a near-permanent basis - very
power efficient

• Supports most BLE iOS and Android
devices - no need for NFC chip

Friday, 25 October, 13
Why Does It Matter?

• iBeacon will transform local commerce

Friday, 25 October, 13
Why Does It Matter?
• iBeacon will transform local commerce
• Indoor navigation

Friday, 25 October, 13
Why Does It Matter?
• iBeacon will transform local commerce
• Indoor navigation
• Open standard - Bluetooth 4.0

Friday, 25 October, 13
Demo

• Use case - Getting Real Store

Friday, 25 October, 13
How Does It Work?

• Technical Alert!

Friday, 25 October, 13
How Does It Work?

• Part of new iOS 7 APIs for Core Location

Friday, 25 October, 13
How Does It Work?
• Part of new iOS 7 APIs for Core Location
• Not Core Bluetooth

Friday, 25 October, 13
Region Monitoring

[locationManager
startMonitoringRegion:

Friday, 25 October, 13

];
Region Monitoring
• You need a UUID for each retail store chain
=> 2D0FAF26-F178-449D-8EC2-C7DFA3D6EF2D

Friday, 25 October, 13
Setup
$ uuidgen
2D0FAF26-F178-449D-8EC2-C7DFA3D6EF2D

Friday, 25 October, 13
Setup
- (id)init {
if (self = [super init]) {
_gettingRealUUID = [[NSUUID alloc]
initWithUUIDString:@”2D0FAF26-F178-449D-8EC2-C7DFA3D6EF2D”];
_gettingRealId = @”Getting Real Store”;
_locationManager = [[CLLocationManager alloc] init];
_locationManager.delegate = self;
}
return self;

}

Friday, 25 October, 13
Listening For iBeacons
- (void)startMonitoringForStores {
CLBeaconRegion *region = [[CLBeaconRegion alloc]
initWithProximityUUID:self.gettingRealUUID
identifier:self.gettingRealId]];
[_locationManager startMonitoringForRegion:region];
}

Friday, 25 October, 13
CLBeaconRegion
CLRegion

Friday, 25 October, 13
CLBeaconRegion
CLRegion

CLBeaconRegion

Friday, 25 October, 13
Listening For iBeacons
-(void)locationManager:(CLLocationManager *)manager didEnterRegion:
(CLRegion *)region {
if ([region.identifier isEqualToString:self.gettingRealId]) {
// Show notification to user
}
}

Friday, 25 October, 13
Listening For iBeacons
- (void)startMonitoringForStores {
CLBeaconRegion *region = [[CLBeaconRegion alloc]
initWithProximityUUID:self.gettingRealUUID
identifier:self.gettingRealId]];
region.notifyOnEntry = YES;
region.notifyOnExit = YES;
region.notifyEntryStateOnDisplay = YES;
[_locationManager startMonitoringForRegion:region];
}

Friday, 25 October, 13
Getting Real Store
• Using proximity to display relevant data catalog vs product details

Friday, 25 October, 13
iBeacon Ranging

Friday, 25 October, 13
iBeacon Ranging

Friday, 25 October, 13
iBeacon Ranging

Immediate

Friday, 25 October, 13
iBeacon Ranging

Immediate
Near

Friday, 25 October, 13
iBeacon Ranging

Unknown

Immediate
Near
Far

Friday, 25 October, 13
Start Ranging
- (void)locationManager:(CLLocationManager *)manager
didEnterRegion:(CLRegion *)region {
[self.manager startRangingBeaconsInRegion:region];
}

Friday, 25 October, 13
CLManagerDelegate
- (void)locationManager:(CLLocationManager *)manager
didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region
{
if ([beacons count] > 0) {
CLBeacon *nearestBeacon = [beacons firstObject];
if (nearestBeacon.proximity == CLProximityImmediate) {
[self showRelevantProductDetails];
}
}
}

Friday, 25 October, 13
Stop Ranging
- (void)locationManager:(CLLocationManager *)manager didExitRegion:
(CLRegion *)region {
[self.locationManager stopRangingForRegion:region];
[self hideStoreCatalog];
}

Friday, 25 October, 13
CLBeacon
@interface CLBeacon
@property (readonly, nonatomic) NSUUID *proximityUUID;
@property (readonly, nonatomic) CLProximity proximity;
@property (readonly, nonatomic) NSNumber *major;
@property (readonly, nonatomic) NSNumber *minor;
typedef NS_ENUM(NSInteger, CLProximity) {
CLProximityUnknown,
CLProximityImmediate,
CLProximityNear,
CLProximityFar,
};
Friday, 25 October, 13
Differentiating Stores
CLBeacon *nearestBeacon = [beacons firstObject];
if (nearestBeacon.major == kGettingRealStoreBuonaVista) {
// Give a cookie
} else if (nearestBeacon.major == kGettingRealStoreOrchard) {
// Sell overpriced goods
}

Friday, 25 October, 13
Within A Store
CLBeacon *nearestBeacon = [beacons firstObject];
if (nearestBeacon.minor == kStoreEntrance) {
// Show Promotions
} else if (nearestBeacon.minor == kStoreWomenSection) {
// Show Women Catalog
} else if (nearestBeacon.minor == kStoreExit) {
// Thank them for their visit, give promo code and offer option
to checkout
}

Friday, 25 October, 13
Turning an iOS Device
into an iBeacon
CLBeaconRegion *region = [[CLBeaconRegion alloc]
initWithProximityUUID:self.gettingRealUUID major:storeNumber
minor:storeEntrance identifier:self.gettingRealId]];
NSDictionary *peripheralData = [region peripheralDataWithMeasuredPower:nil];
[self.peripheralManager startAdvertising:peripheralData];

Friday, 25 October, 13
Conclusion

• iBeacon has the potential to transform
indoor navigation and local commerce

Friday, 25 October, 13
Conclusion
• iBeacon will transform indoor navigation
and local commerce

• As developers, let your imagination run
wild and build interesting apps

Friday, 25 October, 13
Shoutout!
• If the technical talk interests you, and you
are interested to solve interesting mobile
commerce problems..

Friday, 25 October, 13
Shoutout!

• WE ARE HIRING! Come say hi after the
talk :)

Friday, 25 October, 13
Thank You!
Gabriel Lim
Co-Founder
Getting Real Software
gabriel@gettingrail.com

Friday, 25 October, 13

Más contenido relacionado

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

iBeacon iOS Dev Scout October 2013 Talk