react-native-purchases-ui
Version:
React Native in-app purchases and subscriptions made easy. Supports iOS and Android.
16 lines • 555 B
TypeScript
/**
* Detects if the app is running in an environment where native modules are not available
* (like Expo Go or Web) or if the required native modules are missing.
*
* @returns {boolean} True if the app is running in an environment where native modules are not available
* (like Expo Go or Web) or if the required native modules are missing.
*/
export declare function shouldUsePreviewAPIMode(): boolean;
declare global {
var expo: {
modules?: {
ExpoGo?: boolean;
};
};
}
//# sourceMappingURL=environment.d.ts.map