How can I send notification from url to SB1?

S Sebastian Lawniczak 3 years 5 months ago
1 3 0

Hello

I have started using SB1. I'm testing applications from TSDxc60AenDT010200 package. In app6 there is a notification using. I test it locally and it work fine. But when I test send notification from url it does not work. What is my problem?
Do I need to start some services etc? I use function push.detected.

thanks

Please Register or Login to post a reply

3 Replies

E Efkan YILMAZ

Try this format.  I think the one that shows on the screen is not going to work remotely.  In this case, the IP address of my SB1 is 192.168.128.181

http://192.168.128.181:8080/push?appName=Push&message=test%20Message

S Sebastian Lawniczak

Hi

Thank You for Your response. I'm using this format, but it doesn't
work. Do I turn something on?
I'm using this settings:
port 8080 for push - set in config file
I'm testing apps from TSDxc60AenDT010400 and TSDxc60AenDT010200
packages. I had set paths for .css and .js files If it helps I can send
my source codes.

Thank You
Best Regards

Dnia 1 lipiec 2014 17:01:26 Daniel Silva pisze:

Motorola Solutions Launchpad https://developer.motorolasolutions.com/>

>
How can I send notification from url to SB1?

reply from Daniel Silva
https://developer.motorolasolutions.com/people/Dan.Silva%40motorolasolut...
in /RhoMobile Discussions/ - View the full discussion
https://developer.motorolasolutions.com/message/80721?et=watches.email.t...

>

E Efkan YILMAZ

I tested it here with app6 just as it comes.  I installed the whole sample userdrive folder on the device  (Sample UserDrives\Full Sample User Drive\UserDrive from the toolkit folder on my PC), rebooted and then tried it. 

I would suspect that either asl.js is not loading properly, or maybe a firewall is blocking traffic to the device on port 8080.  A quick test for asl.js is to try hitting the home button when your app is on the screen.  If it does not go to the home screen,  asl.js is not loaded properly.

CONTACT
Can’t find what you’re looking for?