Skip to content

Commit

Permalink
Latest from sources
Browse files Browse the repository at this point in the history
  • Loading branch information
wmathurin committed Sep 21, 2021
1 parent f1329a8 commit 3ab16a0
Show file tree
Hide file tree
Showing 48 changed files with 809 additions and 1,880 deletions.
2 changes: 2 additions & 0 deletions src/android/libs/SalesforceHybrid/res/xml/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
id = "com.salesforce.androidsdk"
version = "9.2.0">

<content src="index.html" />

<!-- To allow XHR requests with the new Whitelist plugin -->
<allow-navigation href="https://localhost" />
<allow-navigation href="https://*.force.com" />
Expand Down
21 changes: 13 additions & 8 deletions src/android/libs/SalesforceSDK/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,35 @@
android:theme="@style/SalesforceSDK"
android:launchMode="singleInstance"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize" />
android:windowSoftInputMode="adjustResize"
android:exported="true" />

<!-- Passcode activity -->
<activity android:name="com.salesforce.androidsdk.ui.PasscodeActivity"
<!-- Screen Lock Activity-->
<activity android:name="com.salesforce.androidsdk.ui.ScreenLockActivity"
android:exported="false"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize|stateAlwaysVisible"
android:theme="@style/SalesforceSDK.Passcode" />
android:theme="@style/SalesforceSDK.ScreenLock" />

<!-- Manage space activity -->
<activity android:name="com.salesforce.androidsdk.ui.ManageSpaceActivity"
android:excludeFromRecents="true"
android:theme="@style/SalesforceSDK" />
android:theme="@style/SalesforceSDK"
android:exported="false" />

<!-- Choose server activity -->
<activity android:name="com.salesforce.androidsdk.ui.ServerPickerActivity"
android:excludeFromRecents="true"
android:theme="@style/SalesforceSDK"
android:screenOrientation="portrait" />
android:screenOrientation="portrait"
android:exported="false" />

<!-- Account switcher activity -->
<activity android:name="com.salesforce.androidsdk.ui.AccountSwitcherActivity"
android:excludeFromRecents="true"
android:theme="@style/SalesforceSDK"
android:screenOrientation="portrait" />
android:screenOrientation="portrait"
android:exported="false" />

<!-- IDP webview activity -->
<activity android:name="com.salesforce.androidsdk.auth.idp.IDPCodeGeneratorActivity"
Expand All @@ -78,7 +82,8 @@
</intent-filter>
</receiver>

<service android:name="com.salesforce.androidsdk.push.SFDCFcmListenerService">
<service android:name="com.salesforce.androidsdk.push.SFDCFcmListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
Expand Down
4 changes: 3 additions & 1 deletion src/android/libs/SalesforceSDK/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ dependencies {
api project(':libs:SalesforceAnalytics')
api 'com.squareup.okhttp3:okhttp:3.12.12'
api 'com.google.firebase:firebase-messaging:20.1.0'
api 'androidx.core:core:1.3.2'
api 'androidx.core:core:1.6.0'

/*
* Don't upgrade browser library version until minApiVersion >= 24.
* This is because the latest version of this library has minVersion = 24.
*/
api 'androidx.browser:browser:1.0.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.biometric:biometric:1.1.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test:rules:1.4.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:layout_weight="1"
android:background="@drawable/sf__passcode_secondary_color_button"
android:background="@drawable/sf__secondary_color_button"
android:text="@string/sf__server_url_default_cancel"
android:textAllCaps="false"
android:textColor="?attr/sfNegativeButtonTextColor"
Expand All @@ -78,7 +78,7 @@
android:layout_marginStart="10dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="10dp"
android:background="@drawable/sf__passcode_primary_color_button"
android:background="@drawable/sf__primary_color_button"
android:textColor="?attr/sfColorSecondary"
android:textAllCaps="false"
android:textSize="14sp"
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/android/libs/SalesforceSDK/res/layout/sf__login.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginBottom="20dp"
android:background="@drawable/sf__passcode_primary_color_button"
android:background="@drawable/sf__primary_color_button"
android:textColor="?attr/sfColorSecondary"
android:textAllCaps="false"
android:textSize="14sp"
Expand Down
Loading

0 comments on commit 3ab16a0

Please sign in to comment.