Closed jainygaurav closed 3 years ago
Looks like string:lowercase
is OTP 20.0.
How can I make it work for OTP 19.3.6? Please help!
In this case, there's no easy workaround. You'll have to bump to OTP 20.0. Otherwise you can also take a poke at parse_transform
s but it's overkill.
hi @jainygaurav, did you find a solution for this? I'm stack too with this error:
gen_statem 'apns_com.centropaghe.viavoip' in state connected terminated with reason: {'function not exported',{string,lowercase,1}} in gun:normalize_headers/1 line 661
CRASH REPORT Process 'apns_test' with 0 neighbours crashed with reason: call to undefined function string:lowercase(<<"apns-topic">>)
If I run erl
in console, I got this output:
Erlang/OTP 22 [erts-10.7.2.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Please help me with this issue.
While using https://github.com/inaka/apns4erl, I get following error:
6> apns:push_notification(my_first_connection, DeviceId, Notification).