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

feedback about foreground background instance #188

Open
jalys opened this issue Apr 14, 2023 · 1 comment
Open

feedback about foreground background instance #188

jalys opened this issue Apr 14, 2023 · 1 comment

Comments

@jalys
Copy link

jalys commented Apr 14, 2023

Please find my feedback using Foreground and background instance sending SMS.

I have a strange issue,
My app is listening incoming SMS, when i receive an SMS i send a SMS to.

DEBUG MODE & RELEASE MODE

If receive/send background using backgroundinstance .send it works fine, but when i get back foreground i do not receive anymore incoming SMS, well i do not reach onMessage(SmsMessage message), but still somethings happens because i get in the logs.

I/flutter ( 4873): Column is originating_address
I/flutter ( 4873): Column is message_body
I/flutter ( 4873): Column is timestamp
I/flutter ( 4873): Column is service_center
I/flutter ( 4873): Column is status

DEBUG MODE

if i only use telephony Instance , when app is background & foreground to reply to SMS, it works fine

RELEASE MODE

same as previously , it works fine foreground, but you must use background.instance when app is bckg.
Try sending using instance whenapp is background do not works.

i tried calling Telephony.insta

@jalys
Copy link
Author

jalys commented May 12, 2023

well , everything works well using API 29 , if i use API 31 , there are some issues when I switch to different instances.
I am not experienced enougth ti investigate the bug , sorry .

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

1 participant