getAppUserIdentifier static method

Future<String?> getAppUserIdentifier()

Implementation

static Future<String?> getAppUserIdentifier() async {
  try {
    SharedPreferences prefs = await SharedPreferences.getInstance();
    return prefs.getString('appUserIdentifier');
  } catch (e) {
    SdkLogger.error('Inappify storage read failed: ${e.runtimeType}');
    return null;
  }
}