Skip to content
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

[Testing]Allow push notification sending/handling #575

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ipavlidakis
Copy link
Collaborator

@ipavlidakis ipavlidakis commented Oct 15, 2024

How to use

  • Enter the project directory
  • Run
bundle install
  • Define a json file with the following format
{
    "aps": {
      "alert": {
        "title": "Manual testing requested",
        "body": "Tap to begin"
      },
      "sound": "default",
      "stream": {
        "environment": "", // values can be pronto | demo
        "api_key": "<your api key>",
        "user_id": "<the user you would like to connect as>",
        "token": "<the user's token>",
        "cid": "<the call cid you would like to join>"
      }
    }
  }
  • Run the app on a simulator from Xcode. Once the app is running or at least it has been installed, continue to the next step

  • From your terminal cd to the project's directory and run the following

bundle exec fastlane send_push_notification payload:<the path to the json file you created above>
  • Hopefully a push notification should appear on your simulator.
  • Tap on it
  • The application should login with the provided user and join the call you provide.

Demo

Screen.Recording.2024-10-15.at.5.26.26.PM.mov

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change follows zero ⚠️ policy (required)
  • This change should receive manual QA
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Comparison screenshots added for visual changes
  • Affected documentation updated (Docusaurus, tutorial, CMS)

@ipavlidakis ipavlidakis added the enhancement New feature or request label Oct 15, 2024
@ipavlidakis ipavlidakis self-assigned this Oct 15, 2024
Copy link

1 Message
📖 Skipping Danger since the Pull Request is classed as Draft/Work In Progress

Generated by 🚫 Danger

@Stream-SDK-Bot
Copy link
Collaborator

SDK Size

title develop branch diff status
StreamVideo 7.99 MB 7.99 MB 0 KB 🟢
StreamVideoSwiftUI 2.18 MB 2.18 MB 0 KB 🟢
StreamVideoUIKit 2.31 MB 2.31 MB 0 KB 🟢
StreamWebRTC 8.69 MB 8.69 MB 0 KB 🟢

Copy link

sonarcloud bot commented Oct 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants