[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Pebble integration? #67

Open
Anthonyzou opened this issue May 26, 2017 · 4 comments
Open

Pebble integration? #67

Anthonyzou opened this issue May 26, 2017 · 4 comments

Comments

@Anthonyzou
Copy link

Hi there,

This is a pretty cool product and I while using it, I was thinking it would be nice to allow ssh sessions over my pebble watch. I already get a notification for each request on the pebble so it would be nice to have the option to allow access with the pebble.

@agrinman
Copy link
Contributor

Does pebble support standard Android notifications?

@kennylevinsen
Copy link
Contributor

IIRC (haven't used mine in a while), Pebble handles standard Android notifications, and even have notification actions. It should work from your watch.

I personally accept the requests from my Gear S3.

@anna-is-cute
Copy link

There is no option to do anything but open on phone on Pebble. See photos.

For other apps, such as my email, I can choose options like "Mark as read" and "Archive," which also appear on the phone notification.

@kennylevinsen
Copy link
Contributor
kennylevinsen commented Jun 3, 2017

It appears that one might need to use a WearableExtender to add the actions there.

At https://github.com/kryptco/kryptonite-android/blob/master/app/src/main/java/co/krypt/kryptonite/silo/Notifications.java#L159, one would pre-build the approveOnce and approveTemporary actions, and add something like:

.extend(new NotificationCompat.WearableExtender().addAction(approveOnce).addAction(approveTemporary))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants