Giter VIP home page Giter VIP logo

kalyke's Introduction


I'm an iOS applications & Python softwares developer from Japan πŸ‡―πŸ‡΅

About me

  • πŸ’Ό Working in @zenproducts as a product engineer and developing in @hollyhocksoft
  • πŸ“¬ How to reach me me[at]nnsnodnb.moe
  • πŸ“ I write technical articles only Japanese on blog
  • πŸ˜† Please see more information from https://nnsnodnb.moe

Use Launguages and tools

swift swiftui objective-c xcode python django pycharm rxswift fastlane aws github firebase docker actions bitrise circleci

GitHub stats

trophy

nnsnodnb's github stats

kalyke's People

Contributors

dependabot[bot] avatar nnsnodnb avatar nobiit avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kalyke's Issues

SSL error when trying to use Voip

File "/home/ubuntu/venv/lib/python3.6/site-packages/kalyke/client.py", line 67, in send_message
  result = loop.run_until_complete(self._send_message(registration_id, alert, **kwargs))
  File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
   File "/home/ubuntu/venv/lib/python3.6/site-packages/kalyke/client.py", line 187, in _send_message
    with closing(self._create_connection()) as connection:
   File "/home/ubuntu/venv/lib/python3.6/site-packages/kalyke/client.py", line 280, in _create_connection
ssl.SSLError: [SSL] PEM lib (_ssl.c:3524)

I have downloaded voip "pem" file from my developer dashboard and I am using absolute path of pem file , what might be the issue?

support for apn-push-type

this is necessary for voip push notifications to be sent to the production env. should just be a 2-3 line change

Bad device registration token

It keeps saying "Bad device registration token". However, when sending the exact same thing directly from Firebase it works well. here's what I do:

@router.get("/push-notification-test", status_code=status.HTTP_200_OK, response_model=None)
async def test():

    client = ApnsClient(
        use_sandbox=True,
        team_id="XXXXXXX",
        auth_key_id="XXXXXXX",
        auth_key_filepath=f"{settings.base_dir}/AuthKey_XXXXXXX.p8",
    )

    registration_id = "XXXXXXXXXXXXX"

    payload_alert = PayloadAlert(title="YOUR TITLE", body="YOUR BODY")
    payload = Payload(alert=payload_alert, badge=1, sound="default")
    config = ApnsConfig(topic="xxx.xxx.xxxx")

    await client.send_message(
        device_token=registration_id,
        payload=payload,
        apns_config=config,
    )

Hope you can point me in the right direction. Thanks.

Facing Issues while send VOIP

Hello,
Im working as python developer.Im using this package for send voip notification to ios.Now Im facing issue in send voip notification.
I have this error "ssl.SSLError: [SSL] PEM lib (_ssl.c:4065)".but i was configured my pem file but we got this issue

Support interruption-level

  • passive
  • active
  • time-sensitive
  • critical
{
  "aps": {
    "alert": {
      "title": "Urgent",
      "body": "Your account requires attention"
    },
    "interruption-level": "time-sensitive"
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.