SlideShare a Scribd company logo
1 of 21
Download to read offline
Geofences & iBeacons

Alejandro Rupérez
Programmer Analyst
(Research & Development)
contact@alexruperez.com
Geofence
• A geofence is a virtual perimeter or barrier
for real-world geographic areas.

• A geofence could be dynamically generated
as in a radius around a point location.
Geofence
• When the location-aware device of a

location-based service (LBS) user enters or
exits a geofence, the device receives a
generated notification.
iBeacon
• "A new class of low-powered, low-cost

transmitters that can notify nearby iOS 7
devices of their presence." - Apple Inc.
iBeacon
• Works on Low Energy Bluetooth (BLE),

also known as Bluetooth 4.0 or Bluetooth
Smart.

• iBeacons has endless possibilities like

indoor positioning systems or social media
check-ins.
Example
Example
• When the user enters in the shopping

center’s geofence, the application is set to
hear the iBeacons with their
ProximityUUID (Universally unique
identifier).
Example
• We can detect and triangulate the user's

position within the shopping center placing
several iBeacons with the same identifier
ProximityUUID and a major identifier for
each store.
Example
• We can also detect and triangulate the

user's position within the store placing
several iBeacons with the same identifier
ProximityUUID, the store’s major identifier
and minor identifiers for each section.
Example
Example
• We can detect when the user approaches
or moves away from a section for
advertising or offers.

• We can generate a payment area where

you can pay with the phone without having
to put the phone close to a NFC device.
How to implement this
on iOS devices?
iOS Implementation
• Add the CoreLocation.framework
• Implement the protocol
CLLocationManagerDelegate.

• Create a CLLocationManager instance and
set the delegate.
iOS Implementation
• CLRegion *region = [[CLRegion alloc]

initCircularRegionWithCenter:CLLocation
Coordinate2DMake(40.44699, -3.58719)
radius:150 identifier:@"Shopping Center
Geofence"];
iOS Implementation

• [locationManager

startMonitoringForRegion:region];
iOS Implementation
• - (void)locationManager:

(CLLocationManager *)manager
didEnterRegion:(CLRegion *)region

• - (void)locationManager:

(CLLocationManager *)manager
didExitRegion:(CLRegion *)region
iOS Implementation
• CLBeaconRegion *beaconRegion =

[[CLBeaconRegion alloc]
initWithProximityUUID:[[NSUUID alloc]
initWithUUIDString:@"01234567-89ABCDEF-FEDC-BA9876543210"]
identifier:@"Shopping Center iBeacons"];
iOS Implementation
• [locationManager

startRangingBeaconsInRegion:
beaconRegion];
iOS Implementation
• - (void)locationManager:

(CLLocationManager *)manager
didRangeBeacons:(NSArray *)beacons
inRegion:(CLBeaconRegion *)region

• The beacons NSArray contains detected
iBeacons in CLBeacon objects.
•

iOS Implementation
CLBeacon Class Reference:

•
•
•
•

proximityUUID

•

accuracy (The accuracy of the proximity
value, measured in meters from the beacon.)

•

rssi (The received signal strength of the
beacon, measured in decibels.)

major
minor
proximity (The relative distance to the
beacon: Immediate, Near, Far or Unknown.)
Thanks!

More Related Content

What's hot

Chris Wagner - Creating Apps with the iOS SDK
Chris Wagner - Creating Apps with the iOS SDKChris Wagner - Creating Apps with the iOS SDK
Chris Wagner - Creating Apps with the iOS SDKInfusionsoft
 
Integrate Jenkins with S3
Integrate Jenkins with S3Integrate Jenkins with S3
Integrate Jenkins with S3devopsjourney
 
How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios
How to Create a Geo-tracking Server for Mobile Devices Using Heroku's HeliosHow to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios
How to Create a Geo-tracking Server for Mobile Devices Using Heroku's HeliosSalesforce Developers
 
MongoDB World 2019: Tutorial: Hands-on with Realm Mobile Database
MongoDB World 2019: Tutorial: Hands-on with Realm Mobile DatabaseMongoDB World 2019: Tutorial: Hands-on with Realm Mobile Database
MongoDB World 2019: Tutorial: Hands-on with Realm Mobile DatabaseMongoDB
 
homebot from TADHack Japan
homebot from TADHack Japanhomebot from TADHack Japan
homebot from TADHack JapanAlan Quayle
 
Henry Been - Secure development: keeping your application secrets private
Henry Been - Secure development: keeping your application secrets privateHenry Been - Secure development: keeping your application secrets private
Henry Been - Secure development: keeping your application secrets privateHenry Been
 
PlayFab multiplayer_party
PlayFab multiplayer_partyPlayFab multiplayer_party
PlayFab multiplayer_partyCrystin Cox
 
MACTANS: Injecting Malware
into iOS Devices via Malicious Chargers
MACTANS: Injecting Malware
into iOS Devices via Malicious ChargersMACTANS: Injecting Malware
into iOS Devices via Malicious Chargers
MACTANS: Injecting Malware
into iOS Devices via Malicious ChargersJoon Young Park
 
PlayFab and unity gdc2019
PlayFab and unity gdc2019PlayFab and unity gdc2019
PlayFab and unity gdc2019Crystin Cox
 
CocoaHeads Toulouse - iOS TechTalk - Mélanie Bessagnet
CocoaHeads Toulouse - iOS TechTalk - Mélanie BessagnetCocoaHeads Toulouse - iOS TechTalk - Mélanie Bessagnet
CocoaHeads Toulouse - iOS TechTalk - Mélanie BessagnetCocoaHeads France
 
Guaranteed Delivery - Delivering Infrastructure and Code Together - Matt Moor
Guaranteed Delivery - Delivering Infrastructure and Code Together - Matt MoorGuaranteed Delivery - Delivering Infrastructure and Code Together - Matt Moor
Guaranteed Delivery - Delivering Infrastructure and Code Together - Matt MoorAtlassian
 
PlayFab analytics gdc
PlayFab analytics gdcPlayFab analytics gdc
PlayFab analytics gdcCrystin Cox
 
Dockercon plugins session
Dockercon plugins sessionDockercon plugins session
Dockercon plugins sessionWeaveworks
 

What's hot (18)

Chris Wagner - Creating Apps with the iOS SDK
Chris Wagner - Creating Apps with the iOS SDKChris Wagner - Creating Apps with the iOS SDK
Chris Wagner - Creating Apps with the iOS SDK
 
Odin Authenticator
Odin AuthenticatorOdin Authenticator
Odin Authenticator
 
Integrate Jenkins with S3
Integrate Jenkins with S3Integrate Jenkins with S3
Integrate Jenkins with S3
 
monkeyTalk
monkeyTalkmonkeyTalk
monkeyTalk
 
Microservices
MicroservicesMicroservices
Microservices
 
How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios
How to Create a Geo-tracking Server for Mobile Devices Using Heroku's HeliosHow to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios
How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios
 
MongoDB World 2019: Tutorial: Hands-on with Realm Mobile Database
MongoDB World 2019: Tutorial: Hands-on with Realm Mobile DatabaseMongoDB World 2019: Tutorial: Hands-on with Realm Mobile Database
MongoDB World 2019: Tutorial: Hands-on with Realm Mobile Database
 
homebot from TADHack Japan
homebot from TADHack Japanhomebot from TADHack Japan
homebot from TADHack Japan
 
what new in ios 11
what new in ios 11what new in ios 11
what new in ios 11
 
Henry Been - Secure development: keeping your application secrets private
Henry Been - Secure development: keeping your application secrets privateHenry Been - Secure development: keeping your application secrets private
Henry Been - Secure development: keeping your application secrets private
 
PlayFab multiplayer_party
PlayFab multiplayer_partyPlayFab multiplayer_party
PlayFab multiplayer_party
 
MACTANS: Injecting Malware
into iOS Devices via Malicious Chargers
MACTANS: Injecting Malware
into iOS Devices via Malicious ChargersMACTANS: Injecting Malware
into iOS Devices via Malicious Chargers
MACTANS: Injecting Malware
into iOS Devices via Malicious Chargers
 
PlayFab and unity gdc2019
PlayFab and unity gdc2019PlayFab and unity gdc2019
PlayFab and unity gdc2019
 
CocoaHeads Toulouse - iOS TechTalk - Mélanie Bessagnet
CocoaHeads Toulouse - iOS TechTalk - Mélanie BessagnetCocoaHeads Toulouse - iOS TechTalk - Mélanie Bessagnet
CocoaHeads Toulouse - iOS TechTalk - Mélanie Bessagnet
 
Guaranteed Delivery - Delivering Infrastructure and Code Together - Matt Moor
Guaranteed Delivery - Delivering Infrastructure and Code Together - Matt MoorGuaranteed Delivery - Delivering Infrastructure and Code Together - Matt Moor
Guaranteed Delivery - Delivering Infrastructure and Code Together - Matt Moor
 
PlayFab analytics gdc
PlayFab analytics gdcPlayFab analytics gdc
PlayFab analytics gdc
 
Naki tech
Naki techNaki tech
Naki tech
 
Dockercon plugins session
Dockercon plugins sessionDockercon plugins session
Dockercon plugins session
 

Similar to Gigigo Keynote - Geofences & iBeacons

Mobile development in age of Internet of Things and programming Apple Watch
Mobile development in age of Internet of Things and programming Apple WatchMobile development in age of Internet of Things and programming Apple Watch
Mobile development in age of Internet of Things and programming Apple WatchJanusz Chudzynski
 
Internet of things, and rise of ibeacons
Internet of things, and rise of ibeaconsInternet of things, and rise of ibeacons
Internet of things, and rise of ibeaconsJanusz Chudzynski
 
Estimote beacons and simple Android application (full)
Estimote beacons and simple Android application (full)Estimote beacons and simple Android application (full)
Estimote beacons and simple Android application (full)davidepiccardi
 
Indoor Navigation - A Solution to Last Mile Problem
Indoor Navigation - A Solution to Last Mile ProblemIndoor Navigation - A Solution to Last Mile Problem
Indoor Navigation - A Solution to Last Mile ProblemRanga Vangipuram
 
Droid con 2015 - experimenting monitoring and proximity techniques using andr...
Droid con 2015 - experimenting monitoring and proximity techniques using andr...Droid con 2015 - experimenting monitoring and proximity techniques using andr...
Droid con 2015 - experimenting monitoring and proximity techniques using andr...Commit University
 
IEEE PROJECT TOPICS & ABSTRACTS BY SOFTRONIICS
IEEE PROJECT TOPICS & ABSTRACTS BY SOFTRONIICSIEEE PROJECT TOPICS & ABSTRACTS BY SOFTRONIICS
IEEE PROJECT TOPICS & ABSTRACTS BY SOFTRONIICSaswin tbbc
 
Demystifying iBeacons
Demystifying iBeaconsDemystifying iBeacons
Demystifying iBeaconsFred Brunel
 
Mobile applications chapter 6
Mobile applications chapter 6Mobile applications chapter 6
Mobile applications chapter 6Akib B. Momin
 
Developing context aware applications with iBeacons technology
Developing context aware applications with iBeacons technologyDeveloping context aware applications with iBeacons technology
Developing context aware applications with iBeacons technologySuresh Balla
 
Wi-Fi proximity and context-aware browsing
Wi-Fi proximity and context-aware browsingWi-Fi proximity and context-aware browsing
Wi-Fi proximity and context-aware browsingColdbeans Software
 
Industrial Automation using unmanned Aerial vehicle
Industrial Automation using unmanned Aerial vehicleIndustrial Automation using unmanned Aerial vehicle
Industrial Automation using unmanned Aerial vehicleMusthafa Nowfal
 
POCKET MALL NAVIGATOR
POCKET MALL NAVIGATORPOCKET MALL NAVIGATOR
POCKET MALL NAVIGATORIRJET Journal
 
Terence Barr - beyond smartphones - 24mai2011
Terence Barr  - beyond smartphones - 24mai2011Terence Barr  - beyond smartphones - 24mai2011
Terence Barr - beyond smartphones - 24mai2011Agora Group
 
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping E...
IRJET-  	  Pocket Mall Navigator: Bridging Digital and Traditional Shopping E...IRJET-  	  Pocket Mall Navigator: Bridging Digital and Traditional Shopping E...
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping E...IRJET Journal
 
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping Exper...
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping Exper...IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping Exper...
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping Exper...IRJET Journal
 
Hack your business android+beacons+big data
Hack your business  android+beacons+big dataHack your business  android+beacons+big data
Hack your business android+beacons+big dataTushar Choudhary
 

Similar to Gigigo Keynote - Geofences & iBeacons (20)

Mobile development in age of Internet of Things and programming Apple Watch
Mobile development in age of Internet of Things and programming Apple WatchMobile development in age of Internet of Things and programming Apple Watch
Mobile development in age of Internet of Things and programming Apple Watch
 
Internet of things, and rise of ibeacons
Internet of things, and rise of ibeaconsInternet of things, and rise of ibeacons
Internet of things, and rise of ibeacons
 
Estimote beacons and simple Android application (full)
Estimote beacons and simple Android application (full)Estimote beacons and simple Android application (full)
Estimote beacons and simple Android application (full)
 
Indoor Navigation - A Solution to Last Mile Problem
Indoor Navigation - A Solution to Last Mile ProblemIndoor Navigation - A Solution to Last Mile Problem
Indoor Navigation - A Solution to Last Mile Problem
 
Droid con 2015 - experimenting monitoring and proximity techniques using andr...
Droid con 2015 - experimenting monitoring and proximity techniques using andr...Droid con 2015 - experimenting monitoring and proximity techniques using andr...
Droid con 2015 - experimenting monitoring and proximity techniques using andr...
 
IEEE PROJECT TOPICS & ABSTRACTS BY SOFTRONIICS
IEEE PROJECT TOPICS & ABSTRACTS BY SOFTRONIICSIEEE PROJECT TOPICS & ABSTRACTS BY SOFTRONIICS
IEEE PROJECT TOPICS & ABSTRACTS BY SOFTRONIICS
 
lumicast-whitepaper
lumicast-whitepaperlumicast-whitepaper
lumicast-whitepaper
 
Demystifying iBeacons
Demystifying iBeaconsDemystifying iBeacons
Demystifying iBeacons
 
Proximity as a service
Proximity as a serviceProximity as a service
Proximity as a service
 
Mobile applications chapter 6
Mobile applications chapter 6Mobile applications chapter 6
Mobile applications chapter 6
 
Developing context aware applications with iBeacons technology
Developing context aware applications with iBeacons technologyDeveloping context aware applications with iBeacons technology
Developing context aware applications with iBeacons technology
 
Wi-Fi proximity and context-aware browsing
Wi-Fi proximity and context-aware browsingWi-Fi proximity and context-aware browsing
Wi-Fi proximity and context-aware browsing
 
Industrial Automation using unmanned Aerial vehicle
Industrial Automation using unmanned Aerial vehicleIndustrial Automation using unmanned Aerial vehicle
Industrial Automation using unmanned Aerial vehicle
 
Locaid GeoFence Product Brief
Locaid GeoFence Product BriefLocaid GeoFence Product Brief
Locaid GeoFence Product Brief
 
POCKET MALL NAVIGATOR
POCKET MALL NAVIGATORPOCKET MALL NAVIGATOR
POCKET MALL NAVIGATOR
 
Terence Barr - beyond smartphones - 24mai2011
Terence Barr  - beyond smartphones - 24mai2011Terence Barr  - beyond smartphones - 24mai2011
Terence Barr - beyond smartphones - 24mai2011
 
Cytech iBeacon Primer
Cytech iBeacon PrimerCytech iBeacon Primer
Cytech iBeacon Primer
 
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping E...
IRJET-  	  Pocket Mall Navigator: Bridging Digital and Traditional Shopping E...IRJET-  	  Pocket Mall Navigator: Bridging Digital and Traditional Shopping E...
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping E...
 
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping Exper...
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping Exper...IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping Exper...
IRJET- Pocket Mall Navigator: Bridging Digital and Traditional Shopping Exper...
 
Hack your business android+beacons+big data
Hack your business  android+beacons+big dataHack your business  android+beacons+big data
Hack your business android+beacons+big data
 

More from Alex Rupérez

Iterando arquitecturas, creando herramientas | T3chFest
Iterando arquitecturas, creando herramientas | T3chFestIterando arquitecturas, creando herramientas | T3chFest
Iterando arquitecturas, creando herramientas | T3chFestAlex Rupérez
 
Desarrollando mogollón de apps a la vez... ¿en qué lío me he metido?
Desarrollando mogollón de apps a la vez... ¿en qué lío me he metido?Desarrollando mogollón de apps a la vez... ¿en qué lío me he metido?
Desarrollando mogollón de apps a la vez... ¿en qué lío me he metido?Alex Rupérez
 
MADBike – Destapando la seguridad de BiciMAD (T3chFest 2017)
MADBike – Destapando la seguridad de BiciMAD (T3chFest 2017)MADBike – Destapando la seguridad de BiciMAD (T3chFest 2017)
MADBike – Destapando la seguridad de BiciMAD (T3chFest 2017)Alex Rupérez
 
Gigigo Rails Workshop
Gigigo Rails WorkshopGigigo Rails Workshop
Gigigo Rails WorkshopAlex Rupérez
 
Gigigo Ruby Workshop
Gigigo Ruby WorkshopGigigo Ruby Workshop
Gigigo Ruby WorkshopAlex Rupérez
 
Magister of Entrepreneurship - Social Development
Magister of Entrepreneurship - Social DevelopmentMagister of Entrepreneurship - Social Development
Magister of Entrepreneurship - Social DevelopmentAlex Rupérez
 

More from Alex Rupérez (7)

Iterando arquitecturas, creando herramientas | T3chFest
Iterando arquitecturas, creando herramientas | T3chFestIterando arquitecturas, creando herramientas | T3chFest
Iterando arquitecturas, creando herramientas | T3chFest
 
Desarrollando mogollón de apps a la vez... ¿en qué lío me he metido?
Desarrollando mogollón de apps a la vez... ¿en qué lío me he metido?Desarrollando mogollón de apps a la vez... ¿en qué lío me he metido?
Desarrollando mogollón de apps a la vez... ¿en qué lío me he metido?
 
MADBike – Destapando la seguridad de BiciMAD (T3chFest 2017)
MADBike – Destapando la seguridad de BiciMAD (T3chFest 2017)MADBike – Destapando la seguridad de BiciMAD (T3chFest 2017)
MADBike – Destapando la seguridad de BiciMAD (T3chFest 2017)
 
Gigigo Rails Workshop
Gigigo Rails WorkshopGigigo Rails Workshop
Gigigo Rails Workshop
 
Gigigo Ruby Workshop
Gigigo Ruby WorkshopGigigo Ruby Workshop
Gigigo Ruby Workshop
 
iOS Sync Libraries
iOS Sync LibrariesiOS Sync Libraries
iOS Sync Libraries
 
Magister of Entrepreneurship - Social Development
Magister of Entrepreneurship - Social DevelopmentMagister of Entrepreneurship - Social Development
Magister of Entrepreneurship - Social Development
 

Recently uploaded

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 

Recently uploaded (20)

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 

Gigigo Keynote - Geofences & iBeacons

  • 1. Geofences & iBeacons Alejandro Rupérez Programmer Analyst (Research & Development) contact@alexruperez.com
  • 2. Geofence • A geofence is a virtual perimeter or barrier for real-world geographic areas. • A geofence could be dynamically generated as in a radius around a point location.
  • 3. Geofence • When the location-aware device of a location-based service (LBS) user enters or exits a geofence, the device receives a generated notification.
  • 4. iBeacon • "A new class of low-powered, low-cost transmitters that can notify nearby iOS 7 devices of their presence." - Apple Inc.
  • 5. iBeacon • Works on Low Energy Bluetooth (BLE), also known as Bluetooth 4.0 or Bluetooth Smart. • iBeacons has endless possibilities like indoor positioning systems or social media check-ins.
  • 7. Example • When the user enters in the shopping center’s geofence, the application is set to hear the iBeacons with their ProximityUUID (Universally unique identifier).
  • 8. Example • We can detect and triangulate the user's position within the shopping center placing several iBeacons with the same identifier ProximityUUID and a major identifier for each store.
  • 9. Example • We can also detect and triangulate the user's position within the store placing several iBeacons with the same identifier ProximityUUID, the store’s major identifier and minor identifiers for each section.
  • 11. Example • We can detect when the user approaches or moves away from a section for advertising or offers. • We can generate a payment area where you can pay with the phone without having to put the phone close to a NFC device.
  • 12. How to implement this on iOS devices?
  • 13. iOS Implementation • Add the CoreLocation.framework • Implement the protocol CLLocationManagerDelegate. • Create a CLLocationManager instance and set the delegate.
  • 14. iOS Implementation • CLRegion *region = [[CLRegion alloc] initCircularRegionWithCenter:CLLocation Coordinate2DMake(40.44699, -3.58719) radius:150 identifier:@"Shopping Center Geofence"];
  • 16. iOS Implementation • - (void)locationManager: (CLLocationManager *)manager didEnterRegion:(CLRegion *)region • - (void)locationManager: (CLLocationManager *)manager didExitRegion:(CLRegion *)region
  • 17. iOS Implementation • CLBeaconRegion *beaconRegion = [[CLBeaconRegion alloc] initWithProximityUUID:[[NSUUID alloc] initWithUUIDString:@"01234567-89ABCDEF-FEDC-BA9876543210"] identifier:@"Shopping Center iBeacons"];
  • 19. iOS Implementation • - (void)locationManager: (CLLocationManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region • The beacons NSArray contains detected iBeacons in CLBeacon objects.
  • 20. • iOS Implementation CLBeacon Class Reference: • • • • proximityUUID • accuracy (The accuracy of the proximity value, measured in meters from the beacon.) • rssi (The received signal strength of the beacon, measured in decibels.) major minor proximity (The relative distance to the beacon: Immediate, Near, Far or Unknown.)