The persisted WhatsApp code, generating and storing one on first use.
()
| 275 | |
| 276 | /** The persisted WhatsApp code, generating and storing one on first use. */ |
| 277 | public ensureWhitelistCode(): string { return this.ensureCode(this.WHITELIST_CODE_KEY); } |
| 278 | |
| 279 | /** The persisted WhatsApp code, or null if one hasn't been generated yet. */ |
| 280 | public getWhitelistCode(): string | null { return localStorage.getItem(this.WHITELIST_CODE_KEY); } |
no test coverage detected