forcedotcom / SalesforceMobileSDK-Android

Android SDK for Salesforce
Other
341 stars 385 forks source link

Header Display Issue after Updating SDK to 11.0.1 on Android #2500

Open TamirYakov1 opened 6 months ago

TamirYakov1 commented 6 months ago

Hi there,

Recently, I updated the SDK version of my Android application to 11.0.1, and I encountered an unexpected issue. Following the update, a URL header appeared above my login page, which was not present before.

In my AndroidManifest.xml file, I have the following code:

<activity
            android:name="com.salesforce.androidsdk.ui.LoginActivity"
            android:theme="@style/Theme.AppCompat.NoActionBar"
            tools:replace="android:theme" />

Previously, this code helped in hiding the URL header. However, after the update, it seems ineffective, and the header persists. Notably, this issue is observed on certain Android devices, such as Samsung Galaxy A20 and Samsung Galaxy S20, and potentially more devices.

I have not tested it on other devices, but I suspect the problem may be more widespread.

Any insights or suggestions on resolving this issue would be greatly appreciated.

Thank you.

wmathurin commented 6 months ago

Before we dig further, could you try the latest version of the Mobile SDK (11.1) ?

TamirYakov1 commented 6 months ago

sorry for my typo. Im using 11.1.0 @wmathurin

brandonpage commented 6 months ago

@TamirYakov1 What version did you come from? 10.x or 11.0?

We updated the LoginActivity to a extend AppCompatActivity in 11.0, that could be the source of theming changes.

TamirYakov1 commented 6 months ago

I updated from 10.x

TamirYakov1 commented 4 months ago

Hi, any updates?

example for the bug: WhatsApp Image 2024-02-08 at 11 55 17