You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I developped a flutter app, which works ok for IOS and Android.
I am now busy with a flutter WEB version of it. So far everything OK. I configured firebase to access to the DB and developped my app. The access to firebase Database is working fine, I can access, read...etc.
BUT, I cannot manage to call from flutter WEB the cloud functions that I call with flutter IOS or flutter Android.
The call doesn't reach the backend, so I suspect might be something initializing (?). I´m new to flutter WEB, therefore it might be something really obvious to an expert.
It´s been already 2 weeks trying every possible option found in the docs so any help would be highly appreciated. Thanks in advance!
My config in index.html:
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.6.8/firebase-app.js";
import { getFunctions } from "https://www.gstatic.com/firebasejs/9.6.8/firebase-functions.js";
const firebaseConfig = {
apiKey: "myData",
authDomain: "myData",
projectId: "myData",
storageBucket: "myData",
messagingSenderId: "myData",
appId: "myData",
measurementId: "myData"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const functions = getFunctions(app);
</script>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I developped a flutter app, which works ok for IOS and Android.
I am now busy with a flutter WEB version of it. So far everything OK. I configured firebase to access to the DB and developped my app. The access to firebase Database is working fine, I can access, read...etc.
BUT, I cannot manage to call from flutter WEB the cloud functions that I call with flutter IOS or flutter Android.
The call doesn't reach the backend, so I suspect might be something initializing (?). I´m new to flutter WEB, therefore it might be something really obvious to an expert.
It´s been already 2 weeks trying every possible option found in the docs so any help would be highly appreciated. Thanks in advance!
My config in index.html:
I also initialize firebase in the flutter code:
The error I get: [firebase_functions/internal] internal
Beta Was this translation helpful? Give feedback.
All reactions