ting
ting copied to clipboard
SIGTRAP when `'none'` is passed for `preset` property (alert)
SIGTRAP when 'none'
is passed for preset
property (alert()
function).
done
, error
and spinner
works without issues.
"@baronha/ting": "1.1.0"
"react-native": "0.72.1"
To reproduce:
import { alert } from '@baronha/ting'
alert({
title: 'title',
message: 'message',
preset: 'none'
})
Produces:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_pthread.dylib 0x1b1833778 pthread_setspecific + 48
1 libobjc.A.dylib 0x18004da88 AutoreleasePoolPage::moveTLSAutoreleaseToPool(ReturnAutoreleaseInfo) + 164
2 libobjc.A.dylib 0x180050548 AutoreleasePoolPage::push() + 44
3 CoreFoundation 0x180446160 _CFAutoreleasePoolPush + 16
4 CoreFoundation 0x1804a981c -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 184
5 native 0x104852198 -[RCTNativeAnimatedNodesManager updateAnimations] + 44 (RCTNativeAnimatedNodesManager.m:475)
6 native 0x104851fc8 -[RCTNativeAnimatedNodesManager stepAnimations:] + 396 (RCTNativeAnimatedNodesManager.m:459)
7 QuartzCore 0x187c5b84c CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 808
8 QuartzCore 0x187d62084 display_timer_callback(__CFMachPort*, void*, long, void*) + 336
9 CoreFoundation 0x1803664f0 __CFMachPortPerform + 172
10 CoreFoundation 0x18039b35c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
11 CoreFoundation 0x18039a97c __CFRunLoopDoSource1 + 496
12 CoreFoundation 0x180394ed4 __CFRunLoopRun + 2152
13 CoreFoundation 0x180394254 CFRunLoopRunSpecific + 584
14 GraphicsServices 0x188eb7c9c GSEventRunModal + 160
15 UIKitCore 0x11f882ff0 -[UIApplication _run] + 868
16 UIKitCore 0x11f886f3c UIApplicationMain + 124
17 native 0x104234b7c main + 96 (main.m:7)
18 dyld_sim 0x108069514 start_sim + 20
19 dyld 0x107e45e50 start + 2544
I will check and fix it as soon as possible