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 am experiencing an issue with initializing Firebase in my Avalonia application on Android. The Firebase initialization is not working correctly, and I encounter an error when building in Release mode. Here are the details:
Steps to Reproduce:
Set up an Avalonia application with Firebase.
Configure FirebaseOptions.Builder in the OnCreate method of the MainActivity.
Ensure the ApplicationId is correctly defined as com.acades.AppUsingPushNotify.
<manifestxmlns:android="http://schemas.android.com/apk/res/android"package="com.acades.AppUsingPushNotify">
<applicationandroid:name=".MainApplication"android:allowBackup="true"android:icon="@mipmap/ic_launcher"android:label="@string/app_name"android:roundIcon="@mipmap/ic_launcher_round"android:supportsRtl="true"android:theme="@style/AppTheme">
<!-- Other configurations -->
</application>
</manifest>
Expected Behavior:
Firebase should initialize without errors, and the application should receive push notifications as expected.
Actual Behavior:
Push notifications are not working.
Additional Information:
I have verified that the ApplicationId matches the ID configured in the Firebase Console.
Suggestions from other users indicated moving the FirebaseOptions.Builder setup to the OnCreate method and ensuring the ApplicationId is correct, but the issue persists.
Any guidance or assistance would be greatly appreciated.
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
-
Hi,
I am experiencing an issue with initializing Firebase in my Avalonia application on Android. The Firebase initialization is not working correctly, and I encounter an error when building in Release mode. Here are the details:
Steps to Reproduce:
com.acades.AppUsingPushNotify
.Current Configuration:
Expected Behavior:
Firebase should initialize without errors, and the application should receive push notifications as expected.
Actual Behavior:
Additional Information:
Any guidance or assistance would be greatly appreciated.
Environment:
Thank you,
Alex Pimenta
Beta Was this translation helpful? Give feedback.
All reactions