1

enter image description here

Hello people, I am implementing Huawei analytics services and I have this problem, help!

I'm using import HMSAnalytics from '@hmscore/react-native-hms-analytics';

1 Answers1

0

to use HMS Analytics you need to getInstance from HMS library method

import HMSAnalytics from '@hmscore/react-native-hms-analytics';

await HMSAnalytics.getInstance(); await HMSAnalytics.onEvent(name, params);

LMAG
  • 16
  • 1