What is the recommended way to create screenshots of a SmartWatch 2 extension?
Unfortunately, notification extensions on the emulator look nothing like they look on a real device. Also my control extension that uses a layout (instead of sending an image) looks slightly different on the device emulator.
Bonus question (to Sony): Are there official device frames we are free to use?
Currently, the options you have are either using the emulator (as you have done) or taking photos of the physical hardware device in action.
Regarding device frames question, there is no such material available.
Related
My StackDriver Alerting Policy setup (for the Cloud Console mobile app) has two devices with the exact same name. Only one appears to actually deliver notifications to my phone, so I can never tell which one is the correct one to deliver it to my phone.
Where does this list of devices come from? I only own one iPhone....I did get my old one replaced by Apple but that was more than a year ago, maybe it's "held on to it" somehow"?
And how can I clean it up and delete old devices?
You can see the screenshot of what the identical devices looks like, below:
My workaround has been two set up two notifications, each pointing at a different "same email", to ensure it gets routed to both the correct (and incorrect) targets.
You should remove the device from your Gmail profile
https://support.google.com/accounts/answer/6264236?hl=en#remove_device
I have a pool of device tokens (iOS and Android) and in the docs, I find only one parameter sound for both platforms and obviously I have 2 different notification sound, one for Android and one for iOS.
Do I have to split device tokens by device type for sending to 2 separate device types? Or did I just miss something ?
Thanks.
Solution 1
You could name the same both audio files, like 'your_app.mp3'.
Same name, but different music file on each app. This not allow the user choose the notification sound, but at least allow each app to have a different sound.
Solution 2
Migrate to the new Firebase HTTP v1 API which allows you to customize notifications across platforms
Personal experience
Solution proposed by #daniel-raouf to send Data Messages is great; but in my experience, some Data Messages could not be delivered to your users when:
An user has a power save mode on his phone (by default on Huawei, Xiaomi, One Plus...)
When iOS users clear your app from recent apps (multitask).
So, in my opinion, Data Messages are not a reliable solution for notifications.
You had missed something,
A- If you want to allow the user to select his preferred notification sound at any device so
don't send notification
send only data to force the received content to pass by the onReceive event
In on receive add the sound the icon and data you want to the notification builder.
B- If you want the app to use the default sound
so in the notification body set sound:'default' and it would work for all types of devices
I only see about 16 devices available in Firebase Test Lab and from Google I/O I got the impression that there were going to be more. There was specifically a question asked about this in one of the session Q/A. Are there more devices than the ones listed on the device selection screen and if so, how can they be accessed?
Currently we're using AWS which has several hundred supported devices including devices that are running on distinct networks and I was expecting something a bit more in that ballpark.
What you see in the console is everything that's available at this moment. It's definitely a priority for the Test Lab team to get more devices on board, but it's not exactly easy to do that at the scale required for the particular set of services that Test Lab provides.
You can also get a list of devices by using the gcloud command line:
gcloud firebase test android models list
If you want to stay up to date with Test Lab and ask questions more directly of the team, consider joining this group.
Does anyone know of an AIR Native Extension (ANE) that allows you to access the device's notification sound(s)? OR, a method to query if the device is in "silent" or "vibrate" mode?
I've set up Push Notifications, but no sound plays on my (Android) device.
I know I can play my own sounds, but I want to use the native notification sound (the same as an SMS or email alert sound) and I don't want the sound to play if it shouldn't (viz. silent mode / vibrate mode).
I've been looking for hours and there's a "Vibrate ANE," and others looking for the same type of capability, but I haven't found anything usable for native sound notifications.
I believe that iOS automatically will play a notification sound when it receives a push notification (I think), but Android just flashes the "shade title" & shows the app's icon for the notification.
Maybe someone else has stumbled across a solution??? =)
Many Thanks!
Todd =D
I think you might have to be careful attempt to access the built in sounds on iOS.
We definitely could write an extension that played any of the system sounds. However I believe these sounds are copyrighted, and my understanding of the Apple ToS is that your application may get rejected from the AppStore if you use them directly.
This is why things like a notifications extension only use a "default notification" value to access system sounds that are set by the user. These sounds are played on certain system events.
The sounds are all accessed via undocumented IDs: http://iphonedevwiki.net/index.php/AudioServices
So yeah we’ve been very cautious of writing anything that could put developers in trouble with the AppStore. You have enough problems getting apps through as is. But if you read otherwise let me know.
I am new to flex but my first app is a little bit more pro than you would expect form a rookie. I would like to record sound that is currently played on the local computer (i.e. form winamp or youtube). I saw some codes that use the microphone, but this is undesired. The client machine may not have a microphone hardware or may play the sound on headphones. I think this must be possible but may be not a common task so that's why I can't find the solution? Can any one help?
I believe the user of your app has to select their "input device" and allow access for the Flash web baesd app to access that input device. But, once they do the choosing, you should be able to access that Audio feed using the same microphone APIs.
bring up the Flash Player context menu and select settings. then click the microphone tab. You should see a list of all possibly options. at this moment, one option I have is "Stereo Mix" which I'm pretty sure will send out all the info from the computer.