Trouble understanding json.encode with Corona SDK

Comments

1 comment

  • Avatar
    Max Konev

    Hi,

    This is just how Corona passes push notification to the app. Instead of passing json.encode(event), simply get the message you need from json payload. Something like:

    native.showAlert( "Message from Geek-o-Meter", event.alert, { "OK" } )

Please sign in to leave a comment.