I've just tested it and it works. You missed the OBJC code.
The crash logs look like this:
Application Specific Information:
*** Terminating app due to uncaught exception '', reason: 'Cannot parse: @34234'
Thread 0 Crashed:
0 CoreFoundation 0x00000001a01b7190 0x1a011f000 + 622992 (<redacted> + 120)
1 libobjc.A.dylib 0x000000019ff34380 0x19ff28000 + 50048 (objc_exception_throw + 88)
2 CoreFoundation 0x00000001a02322dc 0x1a011f000 + 1127132 (<redacted> + 128)
3 B4i Example 0x00000001028e1408 0x1028a8000 + 234504 (-[B4I ObjectToNumber:] + 240)
4 B4i Example 0x00000001028b1158 0x1028a8000 + 37208 (-[b4i_b4xmainpage _button1_click] + 64)
5 CoreFoundation 0x00000001a01b5554 0x1a011f000 + 615764 (<redacted> + 148)
6 CoreFoundation 0x00000001a01b58a0 0x1a011f000 + 616608 (<redacted> + 424)
7 B4i Example 0x00000001028e0f24 0x1028a8000 + 233252 (+[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 776)
8 B4i Example 0x00000001028e0a2c 0x1028a8000 + 231980 (-[B4I raiseEvent:event

arams:] + 292)
9 B4i Example 0x00000001028e08f8 0x1028a8000 + 231672 (__33-[B4I raiseUIEvent:event

arams:]_block_invoke + 24)
10 libdispatch.dylib 0x00000001ce613ccc 0x1ce612000 + 7372 (<redacted> + 32)
11 libdispatch.dylib 0x00000001ce62dfb4 0x1ce612000 + 114612 (<redacted> + 16)
12 libdispatch.dylib 0x00000001ce623374 0x1ce612000 + 70516 (<redacted> + 800)
13 libdispatch.dylib 0x00000001ce623044 0x1ce612000 + 69700 (_dispatch_main_queue_callback_4CF + 44)
14 CoreFoundation 0x00000001a01687a0 0x1a011f000 + 300960 (<redacted> + 16)
15 CoreFoundation 0x00000001a015988c 0x1a011f000 + 239756 (<redacted> + 1704)
16 CoreFoundation 0x00000001a015a7f4 0x1a011f000 + 243700 (<redacted> + 344)
17 GraphicsServices 0x000000024a81cf24 0x24a81c000 + 3876 (GSEventRunModal + 120)
18 UIKitCore 0x00000001a44381cc 0x1a437e000 + 762316 (UIApplicationMain + 336)
19 B4i Example 0x00000001028ac060 0x1028a8000 + 16480 (main + 96)
20 (null) 0x000000019ffab5b8 0x0 + 6978975160
This is the relevant B4X code:
Private Sub Button1_Click
Dim i As Int = "@34234"
End Sub
Project is attached. Make sure to change the email address.
Run the project in release mode. Click on the button to let it crash and then start it again. It should show a message asking the user to approve sending the report by email.