mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-04 09:28:03 +08:00
> You can [learn more about this here](https://blog.invertase.io/react-native-firebase-2019-7e334ca9bcc6).
14 lines
387 B
Plaintext
14 lines
387 B
Plaintext
import firebase from 'react-native-firebase';
|
|
import analytics from '@react-native-firebase/analytics';
|
|
import functions, { firebase as foo } from '@react-native-firebase/functions';
|
|
|
|
firebase.app;
|
|
|
|
analytics.SDK_VERSION;
|
|
functions.SDK_VERSION;
|
|
const httpsCallable = firebase.functions(firebase.app()).httpsCallable('foo');
|
|
|
|
httpsCallable({ foo: 1 }).then(result => {
|
|
result.data;
|
|
});
|