Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ To publish new versions, run the following:
yarn release
```

> Note: This package is published to GitHub Packages under the `@viska-io` scope. Ensure you have authenticated with `npm.pkg.github.com` before publishing.

### Scripts

The `package.json` file contains various scripts for common tasks:
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
# react-native-zebra-linkos
# @viska-io/react-native-zebra-linkos

Zebra LinkOS integration for React Native

## Installation

```sh
npm install react-native-zebra-linkos
npm install @viska-io/react-native-zebra-linkos
```

## Usage


```js
import { multiply } from 'react-native-zebra-linkos';
import { writeTCP, scanNetwork } from '@viska-io/react-native-zebra-linkos';

// ...

const result = multiply(3, 7);
```


## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
Expand Down
4 changes: 2 additions & 2 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import {
checkBTPrinterStatus,
checkTCPPrinterStatus,
checkUSBPrinterStatus,
} from 'react-native-zebra-linkos';
} from '@viska-io/react-native-zebra-linkos';
import type {
DiscoveredPrinter,
DiscoveredPrinterBluetooth,
DiscoveredPrinterBluetoothLe,
} from 'react-native-zebra-linkos';
} from '@viska-io/react-native-zebra-linkos';
import type { PrinterStatus } from '../../src/@types';

const App = () => {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "react-native-zebra-linkos",
"name": "@viska-io/react-native-zebra-linkos",
"version": "0.2.2",
"description": "Zebra LinkOS integration for React Native",
"source": "./src/index.tsx",
Expand Down Expand Up @@ -52,16 +52,16 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/scantarbian/react-native-zebra-linkos.git"
"url": "git+https://github.com/VISKA-IO/react-native-zebra-linkos.git"
},
"author": "scantarbian <davidpamereanb@gmail.com> (https://github.com/scantarbian)",
"license": "MIT",
"bugs": {
"url": "https://github.com/scantarbian/react-native-zebra-linkos/issues"
"url": "https://github.com/VISKA-IO/react-native-zebra-linkos/issues"
},
"homepage": "https://github.com/scantarbian/react-native-zebra-linkos#readme",
"homepage": "https://github.com/VISKA-IO/react-native-zebra-linkos#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
"registry": "https://npm.pkg.github.com"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion react-native-zebra-linkos.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.authors = package["author"]

s.platforms = { :ios => min_ios_version_supported }
s.source = { :git => "https://github.com/scantarbian/react-native-zebra-linkos.git", :tag => "#{s.version}" }
s.source = { :git => "https://github.com/VISKA-IO/react-native-zebra-linkos.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,mm}"

Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
import { NativeModules, Platform } from 'react-native';

const LINKING_ERROR =
`The package 'react-native-zebra-linkos' doesn't seem to be linked. Make sure:\n\n` +
`The package '@viska-io/react-native-zebra-linkos' doesn't seem to be linked. Make sure:\n\n` +
Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
'- You rebuilt the app after installing the package\n' +
'- You are not using Expo Go\n';
Expand Down
Loading