Trouble understanding json.encode with Corona SDK


1 comment

  • Avatar
    Max Konev


    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.