This repository was archived by the owner on Nov 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "name" : "@react-native-oh-tpl/netinfo" ,
88 "description" : "Please describe the basic information." ,
99 "main" : "ts.ts" ,
10- "version" : "11.1.0-0.0.6 " ,
10+ "version" : "11.1.0-0.0.7 " ,
1111 "dependencies" : {
12- "rnoh" : "file:../libs/rnoh-4.1.0.400.har "
12+ "@ rnoh/react-native-openharmony" : "file:../react_native_openharmony "
1313 } ,
1414 "types" : 'har'
1515}
Original file line number Diff line number Diff line change 2222 * SOFTWARE.
2323 */
2424
25- import { RNPackage , TurboModulesFactory } from 'rnoh/ts' ;
26- import type { TurboModule , TurboModuleContext } from 'rnoh/ts' ;
25+ import { RNPackage , TurboModulesFactory } from '@ rnoh/react-native-openharmony /ts' ;
26+ import type { TurboModule , TurboModuleContext } from '@ rnoh/react-native-openharmony /ts' ;
2727import { NetInfoTurboModule } from './NetInfoTurboModule' ;
2828
2929class NetInfoTurboModulesFactory extends TurboModulesFactory {
Original file line number Diff line number Diff line change 2222 * SOFTWARE.
2323 */
2424
25- import { TurboModule } from 'rnoh/ts' ;
26- import type { TurboModuleContext } from 'rnoh/ts' ;
25+ import { TurboModule } from '@ rnoh/react-native-openharmony /ts' ;
26+ import type { TurboModuleContext } from '@ rnoh/react-native-openharmony /ts' ;
2727import wifiManager from '@ohos.wifiManager' ;
2828import connection from '@ohos.net.connection'
2929import Logger from './Logger'
Original file line number Diff line number Diff line change 11{
22 "name" : " @react-native-oh-tpl/netinfo" ,
3- "version" : " 11.1.0-0.0.6 " ,
3+ "version" : " 11.1.0-0.0.7 " ,
44 "description" : " React Native Network Info API for iOS & Android" ,
55 "harmony" : {
66 "alias" : " @react-native-community/netinfo"
You can’t perform that action at this time.
0 commit comments