Hybrid apps with background updates