mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 13:03:26 +00:00
feat: gate download behind development certificate on iOS
This commit is contained in:
11
apps/expo/modules/check-ios-certificate/index.ts
Normal file
11
apps/expo/modules/check-ios-certificate/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
// Import the native module. On web, it will be resolved to CheckIosCertificate.web.ts
|
||||
// and on native platforms to CheckIosCertificate.ts
|
||||
import CheckIosCertificateModule from "./src/CheckIosCertificateModule";
|
||||
|
||||
interface CheckIosCertificateModule {
|
||||
isDevelopmentProvisioningProfile(): boolean;
|
||||
}
|
||||
|
||||
export function isDevelopmentProvisioningProfile(): boolean {
|
||||
return (CheckIosCertificateModule as CheckIosCertificateModule).isDevelopmentProvisioningProfile();
|
||||
}
|
Reference in New Issue
Block a user