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

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...DianaGray10
 
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 educationjfdjdjcjdnsjd
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
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.pdfsudhanshuwaghmare1
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 

Recently uploaded (20)

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...
 
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
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

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.)