getActiveBundlePath static method

Future<String?> getActiveBundlePath()

Returns the active OTA bundle path selected by the native bootstrap.

Implementation

static Future<String?> getActiveBundlePath() async {
  final prefs = await SharedPreferences.getInstance();
  return prefs.getString('ota_active_bundle_path');
}