Replace app_context API with app_info API for getting package ID