We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2952e30 commit ef662caCopy full SHA for ef662ca
1 file changed
src/track.ts
@@ -15,9 +15,6 @@ let _client: AptabaseClient | undefined;
15
export function init(appKey: string, options?: AptabaseOptions) {
16
const [ok, msg] = validate(Platform.OS, appKey, options);
17
if (!ok) {
18
- if (_client) {
19
- dispose();
20
- }
21
console.warn(`Aptabase: ${msg}. Tracking will be disabled.`);
22
return;
23
}
0 commit comments