Skip to content

add custom authorizer example #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 21, 2022
Merged

add custom authorizer example #20

merged 5 commits into from
Jul 21, 2022

Conversation

proggen-com
Copy link
Contributor

Description

Add a short description of the change. If this is related to an issue, please add a reference to the issue.

CHANGELOG

  • [CHANGED] Use latest pusher websocket java sdk.
  • [ADDED] Example to use a custom authorizer.

daansystems and others added 2 commits July 21, 2022 14:20
update java dependency and update deprecations
@@ -124,5 +123,6 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api 'com.pusher:pusher-java-client:2.2.8'
api 'com.pusher:pusher-java-client:+'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't better to define a specific version?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, the latest one is 2.4.0

@@ -54,7 +55,21 @@ export default function App() {
await pusher.init({
apiKey,
cluster,
// authEndpoint: '<Add your Auth Endpoint here>',
// authEndpoint
Copy link
Contributor

@fbenevides fbenevides Jul 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I think we can add this information to the README file. WDYT?

@proggen-com proggen-com requested a review from fbenevides July 21, 2022 13:28
@fbenevides fbenevides merged commit b2f077b into master Jul 21, 2022
@fbenevides fbenevides deleted the custom-authorizer branch July 21, 2022 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants