Testing SMS Authentication + Testing Phone Sycning

Project Settings

Hi all! My project now contains SMS Authentication and syncing a user's phone contacts. I would like to understand the best way to test these features.

1) With respect to SMS authorisation, is it possible to test this works without publishing the production version to the app store/play store? I understand it is not possible in the FlutterFlow test environment (although you can set-up test numbers and codes, in Firebase) but I was hoping I could test using real SMS authentication in internal testing once deployed to android or in the test-flight environment once deployed to iOS. If this is possible, please can you point me in the right direction. I've published it to internal testing in Android and it still only works with my test phone number and test code set up in Firebase.

2) I now use a custom widget to load a user's phone contacts into the app. I have tested it works by deploying to android, but it is very cumbersome to deploy to android to test each time. Is it possible to simulate contact uploads in the FlutterFlow test environment? If, so can someone please educate me as to how? If it's not possible, does anyone have any workarounds?

What have you tried so far?

I can test SMS authentication using Phone Numbers for testing in Firebase Authentication, but a real phone number, on my internal testing track doesn't seem to work. I get an error asking to check the package name, SHA-1 and SHA-256 are stored in Firebase which I have done. Has anyone had any success in testing SMS auth in a mobile-handset test environment?

SMS Authentication.jpg
97.28KB

Screenshot 2024-09-05 at 20.23.07.png
343.45KB

With respect to the contacts testing, in the FlutterFlow test environment, I used to get the error: "LateInitializationError: Field _contacts has not been initialized", when I got to the page with my custom widget. To allow me to carry on I added a null check to check if _contacts is null. If this is the case it displays 'No contacts available'. I can test the widget works by deploying the app to an internal testing track on android and the widget works! But developing it by deploying each time is very slow, so I was hoping someone had a way of testing contact uploads in the FlutterFlow test environment.

Did you check FlutterFlow's Documentation for this topic?
No