mirror of
https://github.com/NdoleStudio/httpsms.git
synced 2026-05-04 23:31:00 +03:00
[GH-ISSUE #149] Setup Google Clould Tasks #21
Labels
No labels
In Review
documentation
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/httpsms#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @haovd on GitHub (Mar 31, 2023).
Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/149
Hi!

I am trying to run your source code on localhost, but I am facing an error.
I run Google Cloud Tasks on my GCP, but I don't know how to config variables on the .env file. This is my config
Can you help me?
@AchoArnold commented on GitHub (Mar 31, 2023):
Hello @haovd,
You can run it on your local computer without google cloud. in the .env file,
EVENTS_QUEUE_TYPE=emulatorThis will not use google cloud task, but rather it will use a local emulator.
Let me know how it goes
@haovd commented on GitHub (Apr 2, 2023):
@AchoArnold Wow, I did it
Thank you so much.
@AchoArnold commented on GitHub (Apr 2, 2023):
Btw
EVENTS_QUEUE_USER_ID=106876502026290341703
This h
Should be the ID of the user with this API key
EVENTS_QUEUE_USER_API_KEY=3fe73b366f1c1d084167510c80a5d2716ed75aec
@haovd commented on GitHub (Apr 12, 2023):
Hi @AchoArnold ,
Does android app can receive firebase message on background and then send SMS?
I see it only send SMS on foreground. On background it only show notification
@AchoArnold commented on GitHub (Apr 12, 2023):
Yes @haovd,
The application receives firebase notification on the background and send SMS messages. The foreground notification is there so as to prevent android OS from killing the application to save battery.
See the code here
github.com/NdoleStudio/httpsms@42c491c408/android/app/src/main/java/com/httpsms/FirebaseMessagingService.kt (L17)@haovd commented on GitHub (Apr 14, 2023):
@AchoArnold Yes, Thank you so much