Questions tagged [android]

Android is an operating system based on the Linux kernel, and designed primarily for touchscreen mobile devices such as smartphones and tablet computers.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

Calling setIdentity in SFMCSdkReadyListener crashes with UninitializedPropertyAccessException

I can share more information if needed. At the moment, I don't know what I need to share. The Library version is 8.0.4 Fatal Exception: kotlin.UninitializedPropertyAccessException: lateinit property ...
3
votes
0answers
28 views

Fatal Exception in Marketing Cloud SDK (Android) - RejectedExecutionException

We are using Salesforce SDK 8.0.4. In the recent release, we have RejectedExecutionException. I am not sure if it is related but we started reconfiguring Salesforce when the user changes their ...
0
votes
1answer
17 views

Send push message to Android without sound

just wondering am i able to send push notification to android device without notification sound? Like silent push or just without sound it doesn't matter. I don't see any documentation writing about ...
3
votes
0answers
69 views

SF Chat Android SDK v4.2.2 (latest) still contains legacy support libraries

The latest available version of the SF Chat Android SDK (com.salesforce.service:chat-ui:4.2.2) has not been migrated to AndroidX yet (after 3 years). It still depends on: com.android.support:...
0
votes
0answers
20 views

Navigate to different Home Page on Experience Cloud Community which uses Password less Login Discovery Page on Mobile and on Desktop

I am using the standard Login Discovery Page for Passwordless Login in Community for Sign-up/Login. The same community is hit on the desktop to open a different view of reports, and we also use an ...
1
vote
1answer
46 views

Second push notification message does not open

I encountered a problem where the app is closed completely, and I start the first notification it opens where it needs to open, but when I tap the second notification, nothing happens. Notification ...
0
votes
0answers
18 views

In Salesforce mobile app, why does my button bring user out of the app and open the component in a browser

Button that points to the childComponent is not opening in the Salesforce app (on Android emulator) - it takes the authenticated user to the browser, ask for login instead. I selected "Open with: ...
0
votes
1answer
33 views

On Android in-app messages are not shown when the App is already in foreground

We noticed that if we send a message while the app is running, the SDK does not try to handle it until the app is put in background and back to foreground. Our question is if there is a way to let the ...
2
votes
1answer
53 views

Incorrect marketing cloud aar packaging?

In the aar from marketingcloudsdk is a class packaged as a.a which currently leads to a duplicate class error when building our application... because another library we just updated does the very ...
1
vote
1answer
25 views

How is the Marketing Cloud registration limit regulated?

I am using a device to test the Android implementation of the MarketingCloudSdk. Sometimes when logging the sdkState, I'm getting (even on a freshly installed apk): "RequestManager": { ...
1
vote
1answer
95 views

How to change the SFMCSdk configuration during runtime?

Our SFMCSdk is initialized when the user is logged in and we clear the parameters and disable push when logging out. On iOS there seems to be sfmc_tearDown to release the current instance, which lets ...
0
votes
0answers
8 views

Once you forcedroid create, how do you update it in the future? or do I use Dependencies instead?

I'd like to know how do I update the app in the future. I see that I can use com.salesforce.mobilesdk:SalesforceSDK:9.0.0, but when I "forcedroid create" it creates the app and download all ...
0
votes
0answers
9 views

Post-Chat URL Page (Visualforce Page) not displaying after end chat in Mobile App

We are implementing Post Chat Survey and Email feature for both Web and Mobile Chat customers using customer visualforce page - This funtionality is working fine for Web customers but not Mobile. ...
1
vote
2answers
58 views

SF Chat Android SDK v4.2.1 (latest) not compatible with Android 12

Steps: Setup an Android project with targetSdkVersion: 31 Include v4.2.1 of SF Chat Android SDK (latest available) implementation "com.salesforce.service:chat-ui::4.2.1" Run the app and ...
1
vote
1answer
181 views

MobilePush SDK 8.0.1 crash

Using com.salesforce.marketingcloud:marketingcloudsdk:8.0.1 leads to crash on users devices with Fatal Exception: java.lang.NullPointerException salesforceKeyGenerator.getEncryptionKey(...
1
vote
1answer
34 views

Android 12: Mutable or immutable PendingIntent

As per your “How to Customize Notification Handling” documentation, one can pass a PendingIntent to SFMCSdk.configure (or MarketingCloudSdk.init) in order to open an Activity of choice from the ...
0
votes
1answer
16 views

Minimum version of Android on devices for Mobile Push

What is the minimum version of Android on users' devices that MobilePush supports? I'm using SFMC Sdk for integration into my app.
1
vote
1answer
128 views

MarketingCloud AndroidSDK 8.0.0 | Tapping notification does not launch the app on Android 12

Steps: Setup an Android project with targetSdkVersion 31 In the same project, include version v8.0.0 of MarketingCloud: implementation "com.salesforce.marketingcloud:marketingcloudsdk:8.0.0"...
0
votes
0answers
23 views

Login flow is not working in a device with MDM installed

We are building a native android application which uses the SalesforceMobile SDK f and we have deferred login in the application. The application works fine on emulators and devices where MDM is not ...
1
vote
1answer
128 views

looking for android 12 support

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a Pending Intent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if ...
2
votes
1answer
121 views

Cannot compile when targeting Android 12

Steps: Setup an Android project with targetSdkVersion 31 In the same project, include version v7.4.1 of MarketingCloud: implementation "com.salesforce.marketingcloud:marketingcloudsdk:7.4.1"...
2
votes
1answer
292 views

Marketing cloud Android SDK 7.4.1 crashes when targeting Android 12

It appears SDK needs to be updated for Android 12: java.lang.IllegalArgumentException: my.app: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified ...
0
votes
0answers
53 views

Minimised chat hidden behind dialog fragments

The minimised chat view is not drawn over fullscreen dialog fragments. We use com.google.android.material.bottomsheet.BottomSheetDialogFragment throughout our app. Using a single-activity model with ...
0
votes
1answer
646 views

Could not resolve com.opentok.android.v3:opentok-android-sdk-v3:3.1.3

What went wrong: Could not determine the dependencies of task ':app:lintVitalPreProdFcmRelease'. Could not resolve all artifacts for configuration ':app:PreProdFcmDebugRuntimeClasspath'. Could not ...
0
votes
1answer
41 views

In-App Message Crashing after receiving the message [closed]

It's implemented the same way the documentation requires, but it thrown a message when it tries to display the message. E: FATAL EXCEPTION: main Process: com.my.customer, PID: 3841 java.lang....
0
votes
0answers
36 views

Disable badge count on Android

I'm using 7.2.0 version of marketing cloud sdk plugin. Is there a way to disable the badge count on Android?
0
votes
0answers
10 views

Set or redirect chat to specific agent - SDK for Android/iOS

Is it possible to set or redirect the chat to a specific live agent while using the SDK for Android/iOS?
0
votes
1answer
32 views

Is it safe to remove MCInitContentProvider in our AndroidManifest?

Just a question. Is it possible to remove the MCInitContentProvider in our AndroidManifest? Not have it registered when compiling the apk. It seems like the point of this content provider is to expose ...
2
votes
0answers
101 views

400 Bad Request for Salesforce Platform APIs in Android Version 6

We are facing an issue with our mobile application, we face issue(400 bad request) when calling Salesforce Platform API to get specific records of custom object(sObject Contact Association). And this ...
1
vote
0answers
31 views

Lightning Datatable fixed header overlap in android

I have a lightning Datatable fixed header, but it is overlapping in Android as in the image attached below and it work's fine in iPhone and Desktop. Any work around for this issue? ]1
0
votes
0answers
129 views

Getting an OAuth 1800 error when logging into Salesforce from Salesforce Mobile SDK on Android

We have been getting an OAuth 1800 error for the past week or so in our Android app. We are using the Salesforce Mobile SDK to manage our OAuth login flow. This error comes after the user has tapped ...
0
votes
1answer
32 views

Looking for ways to implement the migrateBU gist given by salesforce for MobilePushSDK

Questions I have about implementation When I import this method 'context' is not found and Im not sure I am setting it up properly. Will I be able to switch BU and register a contact for 2 BUs ...
0
votes
0answers
20 views

Set landscape orientation for Salesforce chat window with Salesforce SDK for Android

My android application support Landscape orientation only. So I want to set the Salesforce chat window's orientation also to landscape only. Is there any option to set the orientation of the chat ...
0
votes
0answers
112 views

React Native Push Notification without body

I've successfully installed the RN library for MC push notifications on my app (https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk) I'm able to register contacts and receive ...
2
votes
0answers
35 views

Unable to search for published Knowledge articles in the Salesforce SDK on Android 10 (API 29)

we're using Salesforce Android SDK (version 224.0.0): https://github.com/forcedotcom/ServiceSDK-Android/releases And found out that text search through the knowledge articles doesn't work on Android ...
-1
votes
1answer
50 views

How to convert remotemessage to notificationmessage [closed]

In SFMC we have default messageservice which is integrated inside the library which will handle onMessageReceived(RemoteMessage rm)., where as in SFMC inside our app how we will change remotemessage ...
1
vote
1answer
84 views

Can we clear the contact key when logging out?

It is possible to clear and remove the association of that contact key with that particular device when the user logs out? What's the recommended approach to avoid having the notifications sent to ...
0
votes
2answers
480 views

Failed to resolve: com.salesforce.marketingcloud:marketingcloudsdk:7.2.0

I'm trying to build an android app for custom hardware, Android 8.x, in Kotlin. I need to be able to send simple and custom notifications to devices. Reading the getting started doc on: https://...
0
votes
1answer
119 views

Android - Marketing Cloud crash on Android 5 and 6

Sorry if I don't provide enough context, but I'm and iOS Developer and I'm posting this because my Android colleague is off for a few weeks 😅 We're getting this crash in our app, which has the ...
1
vote
0answers
910 views

Android Push notification not working on React native - Firebase project ID is required to communicate with Firebase server

Version of Mobile SDK Used: SalesforceMobileSDK-Android v 8.1 Issue found in : React Native OS Version: Mac OX - Catalina 10.15 Device: Nokia 8.1 Android version 10 Steps to reproduce: Login in ...
1
vote
1answer
203 views

Can we manually track that a notification was opened?

I'm using Salesforce mobile push alongside with Firebase Messaging. Since I'm building the notifications manually on FirebaseMessagingService, I'd like to know if there's a public method to track the ...
1
vote
0answers
103 views

Gradle build error with Amazon S3 maven repository dependency

I am developing an open-source react native library that it's a wrapper for the Salesforce SDK chat. This library uses a Salesforce maven dependency that is hosted on an AWS S3 Bucket. The problem is ...
1
vote
1answer
487 views

Tapping on the notification does not launch the App if the App is killed/closed forcefully after getting the notification

MobilePush (Android) SDK (v.7.1.0) We are using Full Control Customization Notification handling by following the document noted here: https://salesforce-marketingcloud.github.io/MarketingCloudSDK-...
1
vote
0answers
51 views

Android Live Chat pre-chat field form screen shows duplicate views when exiting

I recently implemented the Live Chat UI from the Android SDK, and have encountered an issue where it appears that when showing the screen for pre-chat fields to the live chat, upon exiting the pre-...
0
votes
1answer
33 views

How to make Account Lookup using Android Sales Force SDK?

Trying to make an Account lookup, looks like is not working. The code is pretty straight forward, but it looks like is not working. Any ideas what could be wrong with this lookup? val accountEntity = ...
0
votes
1answer
47 views

Callback for when a Notification is opened on an Android app

I am new to marketing cloud and after going through the documentation I haven't found anything similar to a callback for when the SalesForce notification is clicked. In our project we also use the ...
0
votes
1answer
305 views

Any Marketing Cloud SDK Resource for Java (Not Kotlin) Code?

Hi Experts, Currently I am developing Marketing Cloud function from React Native using MC SDK, and want to implement custom push notification handling. However, documentation to set Url Handler ...
0
votes
1answer
202 views

Visualforce page on android

i am facing a problem with a Salesforce Mobile application i have a custom button link: apex/MyPage?Id=XXXX When i am clicking on it I have this error "page doesn't exist or invalid URL " is there a ...
2
votes
1answer
58 views

Category Tracking with MarketingCloudSDK

The MarketingCloudSDK (iOS/Android) offers the method sfmc_trackPageView with an item parameter, but how would I track the category? It works in the Web SDK or API, this is about what I miss in the ...
1
vote
0answers
96 views

Scripts from CDN not loading in iframe created dynamically in a lightning component

In a lightening component, I am dynamically creating and adding an iframe like this - $A.createComponent( 'iframe', { 'aura:id': 'iframe', src: iframeUrl, }, ...