I need help to send notifications using extensions


i texted it, it shows me Sheet not found as in the script:

if (!sh) {
return ContentService.createTextOutput(“Error: Sheet not found”)

but the sheet works fine i insert the data from my app and receive it,…and its a new deployed.

==========
i am using web1 component to get my sheet data inside the list view image and text, and using it to get the notification is it ok!! or i should use another web component, web3.get? :thinking:
i well try and see the result.
same :tired_face:

What sheet? There is no reference to a sheet (spreadsheet) in the correct apps script provided in the guide.

Is your script still asking for this :

return ceksheet(e)

?

I created a script and tested it in my computer browser, it works fine.

yes look here:

then, how to send notification to other users when a new user added!? while app is closed! :thinking:

manually not auto! :anguished_face:

i have tried another method using Firebase DataBase component, I watched a video and it was working, that video a year ago,i did the same thing and still i don’t receive any notification because of the Itoo extension keeps stopping :

itoo extension keeps stopping when create process..That exact moment.
tested on android 9 and 14 same problem…

that’s why i am not receiving notifications..any solution!? :thinking:

iToo keeps stopping or your app keeps stopping ?

Link to video?

Show your relevant blocks and firebase setup.

app keeps stopping when create process..That exact moment.

without itoo extension my app work fine without any problems..

i well update my screen shots now…


Use logcat to find out what’s going on

Taifun

i am using Fyde OS :sweat_smile:

Ask for permission in Screen1
Are there spaces? If yes, remove them

Taifun

i have done it without spaces before but still not appearing but i well fix it.

I asked Gemini for you…

Using Logcat on FydeOS is very similar to how you’d use it on a standard Chromebook, as FydeOS is built on the Chromium OS open-source project. Since Logcat is specifically an Android tool, you’ll be interacting with the Android subsystem (ARC++) inside FydeOS.
Here are the two most effective ways to get those logs.
Method 1: Using the Built-in Terminal (Crosh)
This is the quickest way if you don’t want to set up a full development environment.

  • Open the FydeOS browser.
  • Press Ctrl + Alt + T to open Crosh (the Chromium OS shell).
  • Type shell and press Enter. (Note: This may require Developer Mode to be enabled on some builds).
  • To see the Android logs, type:
    android-sh -c logcat
  • To stop the stream, press Ctrl + C.
    Method 2: Using Linux Development Environment (Recommended)
    If you are developing apps or need more control (like filtering), using the Linux container is the professional route.
  1. Enable Linux
    Go to Settings > Advanced > Developers and Turn On the Linux Development Environment.

  2. Install ADB Tools
    Open your Linux terminal and run:
    sudo apt update
    sudo apt install adb

  3. Connect to the Android Container
    Since the Android subsystem is running on the same machine, you connect via the local network bridge:

  • Go to Settings > Apps > Google Play Store (or Android Settings) > Manage Android Preferences.
  • Navigate to System > Developer Options.
    • If not visible, go to “About device” and click “Build number” 7 times.
  • Enable ADB Debugging.
  • In your Linux terminal, run:
    adb connect 100.115.92.2:5555
    (This is the standard internal IP for the Android container in ChromeOS/FydeOS).
  1. Run Logcat
    Once connected, simply type:
    adb logcat
    Pro-Tips for Filtering
    Logcat moves fast. Use these commands to find what you actually need:
    | Command | Purpose |
    |—|—|
    | adb logcat -d | Dumps the current log and exits (doesn’t stream). |
    | adb logcat *:E | Shows only Errors. |
    | adb logcat -c | Clears the old log buffer so you start fresh. |
    | adb logcat > logs.txt | Saves the output to a file in your Linux folder. |

Taifun

Try a simple test project to show only notifications from the background without firebase

Taifun

bash: android-sh: command not found

show me how, i well follow, i tried many times but no result, as long as this keeps showing :

:expressionless_face:

Get logcat running and show us the logcat output
Alternatively use an Android device and get logcat running there

Taifun

Don’t further complicate things by adding in additional blocks and activities. Focus on just getting iToo and melonNotifications to work.

I downloaded the example aia from the guide, and updated itoo and melonnotification and the blocks.

Blocks (AppInventor)

(Replace the firebase url and api key to your own)

Make sure you follow the rest of the instructions in the guide correctly, especially the firebase project setup - an itoo node with read/write permissions (which is where the message is set), in particular. Fix all the typos in your text blocks, remove spaces where previously indicated, and to store a value the tag should just be message. Take your time setting it up, and take care to copy everything correctly.

1 Like

02-10 16:57:28.683 138 238 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
02-10 16:57:28.735 138 238 E BatteryStatsService: Power Hal not loaded
02-10 16:58:08.572 123 160 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0

that’s where i am so far, i used the linux termial,and connected my phone, enabled usb debug, allowed access, but it tells me storage getDiskStats failed ! :head_shaking_vertically:

Those logs have nothing to do with your app
Try to log more, not only the errors
Just try a

adb logcat

Then start your app to elicit the error

Taifun

1 Like
  1. Run adb logcat *:E (and wait until it stops generating errors)
  2. Note the time of the last line
  3. Start the app and reproduce the error
  4. Select the text from the time noted in step 2 down to the last error and post it here.
2 Likes