saveAppId static method
Implementation
static Future<void> saveAppId({required int appId}) async {
try {
SharedPreferences prefs = await SharedPreferences.getInstance();
await prefs.setInt('appId', appId);
} catch (e) {
SdkLogger.error('Inappify storage write failed: ${e.runtimeType}');
}
}