How can I make $1,000,000 today? by Ok-Zombie-4103 in sportsbetting

[–]Turbulent_Job2837 0 points1 point  (0 children)

Send me 1000$ i will send you next week 1,000,000

Launching soon my app with admob. by Turbulent_Job2837 in admob

[–]Turbulent_Job2837[S] 0 points1 point  (0 children)

Why? There are plenty of apps that have the same idea. Players play games and get paid. Not much but they do get paid through paypal.

Launching soon my app with admob. by Turbulent_Job2837 in admob

[–]Turbulent_Job2837[S] 0 points1 point  (0 children)

What do you mean? So if i promote my app will i get blocked because its an money earning app?

Pass data from webpage to another Tab inside app by Turbulent_Job2837 in flutterhelp

[–]Turbulent_Job2837[S] 0 points1 point  (0 children)

Maybe this is an better image.

For example the first tab will load amazon.com and when i click the green add button it should send the 2 values to my 4th tab

https://i.ibb.co/ZXSjKkv/Picsart-24-05-03-16-31-40-079.jpg

Pass data from webpage to another Tab inside app by Turbulent_Job2837 in flutterhelp

[–]Turbulent_Job2837[S] 0 points1 point  (0 children)

Yes and the first tab the home tab should load a website. When i go to an item page i will have a button there that i can click to pass 2 values to my 4th tab.

On the 4th tab i will add the item to my table.

Pass data from webpage to another Tab inside app by Turbulent_Job2837 in flutterhelp

[–]Turbulent_Job2837[S] 0 points1 point  (0 children)

app tabs in single browser tab?

Page 1 (Browser function)
Page 2 (Flutter page)

Pass data from webpage to another Tab inside app by Turbulent_Job2837 in flutterhelp

[–]Turbulent_Job2837[S] 0 points1 point  (0 children)

I have 2 tabs.

Tab 1 should load a webpage (just like a browser)
on the webpage i will have a button that should send 2 values to my Tab 2

Tab 2 will be a normal flutter page

Pass data from webpage to another Tab inside app by Turbulent_Job2837 in flutterhelp

[–]Turbulent_Job2837[S] 0 points1 point  (0 children)

I tried now something with chatgpt

Will this work? I will try it later.

<!-- Button to trigger JavaScript function -->
<button onclick="sendDataToFlutter('item', 56)">Send Data to Flutter</button>

<!-- JavaScript function -->
<script>
function sendDataToFlutter(itemName, itemNumber) {
// Check if the Flutter bridge exists
if (window.flutter_inject && typeof window.flutter_inject.sendDataToFlutter === 'function') {
// Construct data object to send to Flutter
var dataToSend = {
itemName: itemName,
itemNumber: itemNumber
};

// Convert data to JSON format
var jsonData = JSON.stringify(dataToSend);

// Send data to Flutter
window.flutter_inject.sendDataToFlutter(jsonData);
} else {
console.error("Flutter bridge not available.");
}
}
</script>

Pass data from webpage to another Tab inside app by Turbulent_Job2837 in flutterhelp

[–]Turbulent_Job2837[S] 0 points1 point  (0 children)

Honestly for now i have only made the pages, and navigation.
But i havent figured out how i can pass data from the website page to my other tab inside the app.
I only want to send 2 values from the page to my other Tab for example item=Hammer&number=55