init
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:isar/isar.dart';
|
||||
|
||||
import '../../data/local/app_database.dart';
|
||||
|
||||
/// Exposes the opened Isar instance. Throws if [AppDatabase.open] has not run.
|
||||
final isarProvider = FutureProvider<Isar>((ref) => AppDatabase.instance.open());
|
||||
|
||||
/// Apple IAP product identifier for the one-time unlock.
|
||||
/// Configure the matching product in App Store Connect when publishing.
|
||||
const String kUnlockProductId = 'com.shelingxingqiu.arcx.unlock';
|
||||
|
||||
/// Whether the build is a debug build (used to surface a dev-only unlock).
|
||||
final bool kIsDebugBuild = kDebugMode;
|
||||
Reference in New Issue
Block a user