Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with SMS Processing in Local Connection Mode #83

Open
hackvitae opened this issue Jul 25, 2024 · 2 comments
Open

Issue with SMS Processing in Local Connection Mode #83

hackvitae opened this issue Jul 25, 2024 · 2 comments

Comments

@hackvitae
Copy link

Hello,

I am experiencing an issue with your Android application that transmits received SMS messages as HTTP requests. The application works correctly when the device is connected to the Internet. However, it does not seem to process SMS messages received in local connection mode.

In detail:
In local connection mode, the test function works as expected.
However, no processing occurs when an SMS is actually received in local connection mode.
No messages appear in the syslog.

Could you please help me resolve this issue?

Thank you in advance for your assistance.

@hackvitae
Copy link
Author

Hello,

I have a hippothesis concerning my problem.
If I've understood correctly, the application won't transmit if there's no internet connection. This explains why in local mode, the test works but not the sms forwarding.
Is it possible to have a function that transmits the sms in local mode (without internet connection)? Maybe a checkbox in the settings to force an offline mode?

Thanks in advance

@bogkonstantin
Copy link
Owner

Yes, it works only when it's connected to the internet:
this line in code

.setRequiredNetworkType(NetworkType.CONNECTED)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants