Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Gideros Notification Plugin - Page 5 — Gideros Forum

Gideros Notification Plugin

1235»

Comments

  • ar2rsawseenar2rsawseen Maintainer
    Hello
    unfortunately I could only arrange a test device on weekend, when I will retest it with IOS 7.
  • @ar2rsawseen Hey, how did it go?
  • ar2rsawseenar2rsawseen Maintainer
    @Venorcis unfortunately it worked as expected with IOS7 installed Iphone
    So currently I'm clueless.

    If you try out putting simple code in your main lua, like this, it also does not work?
    local text = TextField.new(nil, "Test")
    text:setPosition(100,100)
    text:setScale(4)
    stage:addChild(text)
     
    mngr:addEventListener(Event.PUSH_NOTIFICATION, function(e)
    	print("Push notification: "..e.id)
    	print("Title: "..e.title)
    	print("Text: "..e.message)
    	print("Number: "..e.number)
    	print("Custom: "..e.custom)
    	print("Did Open app", e.didOpen)
    	text:setText("Id: "..e.id)
    end)
    Like it should change Test to ID of notification upon opening
  • @ar2rsawseen Thanks for the testing; really weird stuff :( We're going to dig into this...
  • nelinhonelinho Member
    so... just a quick question: if the app is closed by OS, it receive push notifications yet?
    in other words, if it is not running nor background neither foreground?
  • ar2rsawseenar2rsawseen Maintainer
    @nelinho app does not receive push notification
    Device does (even if app is not running completely)
    And app only receives an event, if user clicked on the notification
  • nelinhonelinho Member
    edited May 2014
    thanks for the quick answer :)

    But i have one more question...

    Local notification will be dispatched if app is closed? or only in background or foreground.
  • ar2rsawseenar2rsawseen Maintainer
    It should be the same as push notifications with the difference that you can retrieve the list of all dispatched local notifications and the ones still in schedule
  • hmmm looks android 10 not support anymore "gcm". Has gideros some alternative to implements local notifications for Android and IOS? :s
Sign In or Register to comment.