Fixed push notification methods

Push notification methods now compatible with both iOS and Android