Closed dengesCU closed 3 months ago
Thanks for the quick reply, I'll look into uFBT for building it in the future. The fap file from the nightly build also works on my flipper. So problem solved :)
Just in case, this is how the build error is reproducible for me (with clean repos):
git clone --recursive https://github.com/flipperdevices/flipperzero-firmware.git
git clone https://github.com/akopachov/flipper-zero_authenticator.git
cd flipperzero-firmware
git checkout release
ln -s ../../flipper-zero_authenticator/totp applications_user/totp
./fbt fap_totp
PS: Since I still don't know how to build correctly using fbt but it clearly works for you with uFBT, I'll leave the issue open, but please feel free to close it. Thanks again for the help and of course for the great app
Glad you like it!
Also, thank you for providing the steps to reproduce.
Describe the bug I am trying to build totp.fap for the latest official firmware 0.99.1 and it fails with the error message
To Reproduce Steps to reproduce the behavior:
** FBT ERRORS ** build/f7-firmware-D/.extapps/totp.impsyms: build/f7-firmware-D/.extapps/totp.fap: app may not be runnable. Symbols not resolved using firmware's API: {'I_WarningDolphinFlip_45x42'}
Preliminary fix The files totp/ui/scenes/authenticate/totp_scene_authenticate.c and totp/ui/scenes/standby/standby.c use the API symbol I_WarningDolphinFlip_45x42 which apparently is not defined.
Commenting out the sections in the two files makes the program compile again and now I also get working 2FA codes.
The git diff is :
Expected behavior totp.fap file that works on official firmware
Device information (please complete the following information):