-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
<GestureHandlerRootView style={{ flex: 1 }}>
<NotifierWrapper omitGlobalMethodsHookup={true}>
<Button
title="omitGlobalMethodsHookup"
onPress={() =>
Notifier.showNotification({
title: 'omitGlobalMethodsHookup',
description: 'omitGlobalMethodsHookup测试,设置为true',
})
}
/>
<Button title="全局方法关闭通知" onPress={() => Notifier.hideNotification()} />
</NotifierWrapper>
<NotifierWrapper omitGlobalMethodsHookup={false}>
<Button
title="omitGlobalMethodsHookup"
onPress={() =>
Notifier.showNotification({
title: 'omitGlobalMethodsHookup',
description: 'omitGlobalMethodsHookup测试,默认为false',
})
}
/>
<Button title="全局方法关闭通知" onPress={() => Notifier.hideNotification()} />
</NotifierWrapper>
</GestureHandlerRootView>
Metadata
Metadata
Assignees
Labels
No labels