implement nend for iOS
implement nend for Android.