File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # react-native-contacts-last-updated
1+ # @ omarsdev/ react-native-contacts
22
33Contacts at scale for React Native, with fast first-run paging and efficient “delta since last sync” on Android and iOS.
44
@@ -14,10 +14,10 @@ Install
1414
1515``` sh
1616# with Yarn
17- yarn add react-native-contacts-last-updated
17+ yarn add @omarsdev/ react-native-contacts
1818
1919# with npm
20- npm install react-native-contacts-last-updated
20+ npm install @omarsdev/ react-native-contacts
2121```
2222
2323Permissions
@@ -88,10 +88,7 @@ API reference (JS)
8888Quick start
8989
9090``` ts
91- import {
92- streamAll ,
93- streamUpdatedFromPersisted ,
94- } from ' react-native-contacts-last-updated'
91+ import { streamAll , streamUpdatedFromPersisted } from ' @omarsdev/react-native-contacts'
9592import { ensureContactsPermission } from ' ./permissions' // from snippet above
9693
9794// First run: baseline in chunks (paged)
@@ -141,7 +138,7 @@ Build & development
141138 - ` cd example/ios && pod install `
142139 - ` cd .. && yarn ios `
143140- Using in your app:
144- - ` yarn add react-native-contacts-last-updated `
141+ - ` yarn add @omarsdev/ react-native-contacts `
145142 - iOS: ` cd ios && pod install `
146143 - Rebuild the app
147144
Original file line number Diff line number Diff line change 1010 "build:ios" : " react-native build-ios --mode Debug"
1111 },
1212 "dependencies" : {
13+ "@omarsdev/react-native-contacts" : " workspace:*" ,
1314 "@react-native/new-app-screen" : " 0.81.1" ,
1415 "react" : " 19.1.0" ,
1516 "react-native" : " 0.81.1" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
1818 getUpdatedFromPersistedPaged ,
1919 commitPersisted ,
2020 type Contact ,
21- } from 'react-native-contacts-last-updated ' ;
21+ } from '@omarsdev/ react-native-contacts' ;
2222
2323type Theme = 'light' | 'dark' ;
2424
Original file line number Diff line number Diff line change 11{
2- "name" : " react-native-contacts-last-updated " ,
2+ "name" : " @omarsdev/ react-native-contacts" ,
33 "version" : " 0.1.0" ,
44 "description" : " Access the device address book and track when contacts were last touched." ,
55 "main" : " ./lib/module/index.js" ,
5656 },
5757 "homepage" : " https://github.com/omarsdev/react-native-contacts-last-updated#readme" ,
5858 "publishConfig" : {
59+ "access" : " public" ,
5960 "registry" : " https://registry.npmjs.org/"
6061 },
6162 "devDependencies" : {
Original file line number Diff line number Diff line change 22 "compilerOptions" : {
33 "rootDir" : " ." ,
44 "paths" : {
5- "react-native-contacts-last-updated " : [" ./src/index" ]
5+ "@omarsdev/ react-native-contacts" : [" ./src/index" ]
66 },
77 "allowUnreachableCode" : false ,
88 "allowUnusedLabels" : false ,
You can’t perform that action at this time.
0 commit comments