Rack::DetectPlatform is a middleware to set the X_PLATFORM env variable based on user agent. It is entirely based on the significantly more robust Rack::MobileDetect (http://github.com/talison/rack-mobile-detect).
Project
rack_detect_platform
Very simple Rack middleware to set an env variable based on user agent
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Project Readme