Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Sep 18, 2024
1 parent 404705a commit 972a3ec
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 30 deletions.
26 changes: 1 addition & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,9 @@
# posthog-react-native-session-replay

Session Replay
Session Replay for React Native (Android and iOS)

## Installation

```sh
npm install posthog-react-native-session-replay
```

## Usage


```js
import { multiply } from 'posthog-react-native-session-replay';

// ...

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


## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
13 changes: 13 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Releasing
=========

1. Update the CHANGELOG.md with the version and date
2. Update the version in the package.json file
3. Choose a tag name (e.g. `3.0.0`), this is the version number of the release.
1. Preview releases follow the pattern `3.0.0-alpha.1`, `3.0.0-beta.1`, `3.0.0-RC.1`
4. Go to [GH Releases](https://github.com/PostHog/posthog-android/releases)
5. Choose a release name (e.g. `3.0.0`), and the tag you just created, ideally the same.
6. Write a description of the release.
7. Publish the release (npm publish).
8. Done

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/marandaneto/posthog-react-native-session-replay.git"
"url": "git+https://github.com/PostHog/posthog-react-native-session-replay.git"
},
"author": "Manoel Aranda Neto <marandaneto@gmail.com> (https://github.com/marandaneto)",
"author": "PostHog <engineering@posthog.com> (https://github.com/PostHog)",
"license": "MIT",
"bugs": {
"url": "https://github.com/marandaneto/posthog-react-native-session-replay/issues"
"url": "https://github.com/PostHog/posthog-react-native-session-replay/issues"
},
"homepage": "https://github.com/marandaneto/posthog-react-native-session-replay#readme",
"homepage": "https://github.com/PostHog/posthog-react-native-session-replay#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
Expand Down
2 changes: 1 addition & 1 deletion posthog-react-native-session-replay.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/marandaneto/posthog-react-native-session-replay.git", :tag => "#{s.version}" }
s.source = { :git => "https://github.com/PostHog/posthog-react-native-session-replay.git", :tag => "#{s.version}" }

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

Expand Down

0 comments on commit 972a3ec

Please sign in to comment.