RefreshControl#colors

androidcolors [color] The colors (at least one) that will be used to draw the refresh indicator.

RefreshControl#onRefresh

onRefresh function Called when the view starts refreshing.

RefreshControl#progressBackgroundColor

androidprogressBackgroundColor color The background color of the refresh indicator.

RefreshControl#enabled

androidenabled bool Whether the pull to refresh functionality is enabled.

PushNotificationIOS.requestPermissions()

static requestPermissions(permissions?) Requests notification permissions from iOS, prompting the user's dialog box. By default, it will request all notification permissions, but a subset of these can be requested by passing a map of requested permissions. The following permissions are supported: alert badge sound If a map is provided to the method, only the permissions with truthy values will be requested. This method returns a promise that will resolve when the user accepts, rejects, or if

PushNotificationIOS.scheduleLocalNotification()

static scheduleLocalNotification(details) Schedules the localNotification for future presentation. details is an object containing: fireDate : The date and time when the system should deliver the notification. alertBody : The message displayed in the notification alert. alertAction : The "action" displayed beneath an actionable notification. Defaults to "view"; soundName : The sound played when the notification is fired (optional). category : The category of this notification, required

PushNotificationIOS.setApplicationIconBadgeNumber()

static setApplicationIconBadgeNumber(number) Sets the badge number for the app icon on the home screen

PushNotificationIOS.getInitialNotification()

static getInitialNotification() If the app launch was triggered by a push notification, it will give the notification object, otherwise it will give null

PushNotificationIOS.presentLocalNotification()

static presentLocalNotification(details) Schedules the localNotification for immediate presentation. details is an object containing: alertBody : The message displayed in the notification alert. alertAction : The "action" displayed beneath an actionable notification. Defaults to "view"; soundName : The sound played when the notification is fired (optional). category : The category of this notification, required for actionable notifications (optional). userInfo : An optional object conta

PushNotificationIOS.removeEventListener()

static removeEventListener(type, handler) Removes the event listener. Do this in componentWillUnmount to prevent memory leaks