(isTokenAutoRefreshEnabled: boolean)
| 126 | } |
| 127 | |
| 128 | activate(isTokenAutoRefreshEnabled: boolean) { |
| 129 | this.native.setTokenAutoRefreshEnabled(isTokenAutoRefreshEnabled); |
| 130 | if (customProvider) { |
| 131 | this.native.installAppCheckProviderFactory(customProvider.native); |
| 132 | } else { |
| 133 | this.native.installAppCheckProviderFactory(com.google.firebase.appcheck.playintegrity.PlayIntegrityAppCheckProviderFactory.getInstance()); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | getToken(forceRefresh: boolean): Promise<AppCheckToken> { |
| 138 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected