add iOS8 detection

iOS8 detection
- also add mobile-friendly alert on callback failed