Skip to content

Commit fa979f7

Browse files
committed
add useEmulator to compat
1 parent 20ebf37 commit fa979f7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/remote-config-compat/src/remoteConfig.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ import {
3535
getNumber,
3636
getString,
3737
getValue,
38-
isSupported
38+
isSupported,
39+
connectRemoteConfigEmulator
3940
} from '@firebase/remote-config';
4041

4142
export { isSupported };
@@ -73,6 +74,10 @@ export class RemoteConfigCompatImpl
7374
return activate(this._delegate);
7475
}
7576

77+
useEmulator(url: string): void {
78+
connectRemoteConfigEmulator(this._delegate, url);
79+
}
80+
7681
ensureInitialized(): Promise<void> {
7782
return ensureInitialized(this._delegate);
7883
}

0 commit comments

Comments
 (0)