jordanbyron / react-native-quick-actions

A react-native interface for Touch 3D home screen quick actions
MIT License
1.06k stars 95 forks source link

Fix/android 4 4 issue #34

Closed huangmr closed 7 years ago

huangmr commented 7 years ago

Issue: on Android 4.4, there is an exception during startup due to undefined class ShortcutInfo being referenced in function createShortcutInfo().

Fix: remove function createShortcutInfo() and put the body into where it is being referenced to avoid this issue.

huangmr commented 7 years ago

Hi @jordanbyron I just found an issue with old android version 4.4 where it throws an exception during app startup, so just reorganised the code a bit to avoid the unnecessary error.

jordanbyron commented 7 years ago

@huangmr thanks for the quick turn around on this! Merged and published to npm ✨