Add availability module to Android
Fix threadsafe issue with iOS