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
0answers
4 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
0answers
9 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
35 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
13 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
14 views

Set up Salesforce push notification for Android using SDK

I would like to integrate push notification on Android application using Salesforce. I have integretaed Salesforce SDK on the Android applicaiton. Calling PushMessaging.register function i have ...
0
votes
0answers
20 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
25 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
14 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
30 views

Chat SDK Android - Chat-core sdk isn't sending the latest state when network is back

When network goes off and it's back, chat-core sdk isn't sending the latest state, i.e. if chat is ended by the agent or any other state transition happened when network was not there. I have checked ...
0
votes
0answers
66 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 ...
0
votes
0answers
44 views

Android not redirecting to Visualforce page in Salesforce App

I have been able to redirect to a url with parameters from a lightning web component to a Visualforce page. This is working in the desktop version of Salesforce in Chrome and in the app for iOS, but ...
2
votes
0answers
26 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
36 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
42 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
0answers
58 views

Android ANR's in com.salesforce.marketingcloud.MCReceiver

We are seeing a large number of ANR's within our app that appear to be originating from com.salesforce.marketingcloud.MCReceiver using the lates version of Marketing Cloud (7.2.0) Broadcast of Intent {...
0
votes
2answers
149 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
84 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
628 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
95 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 ...
0
votes
0answers
21 views

Field Services Lightning on Android - List View filtered by 'MONTH' does not display any Service Appointments other than today's on an Android

List View filtered by Scheduled Start equals MONTH, does not display any Service Appointments other than today's on an Android. The List View works on all other devices.
1
vote
0answers
58 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
281 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-...
0
votes
0answers
24 views

Android Mobile SDK - Is access token refresh handled by the SDK?

When logging in to an Android app using the mobile SDK, what happens when the access and/or refresh tokens expire? Do rest client calls begin to fail at that point? Or is there some kind of automatic ...
1
vote
0answers
49 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
28 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
34 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
177 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
108 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
49 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
75 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, }, ...
0
votes
0answers
27 views

How do i get logs for a lightning component loading in salesforce android app?

I have added a lightening component to Salesforce, and its rendering fine in chrome on Salesforce and in Salesforce iOS app. But, its not loading in Salesforce android app. and is showing blank. Any ...
1
vote
1answer
61 views

lightning:formattedAddress not opening the exact location in Google Maps in Android

We have an implementation where we are displaying an address on a lightning aura component using lightning:formattedAddress in Salesforce Mobile App. The component itself works fine and renders the ...
0
votes
0answers
131 views

Fatal Crash in Marketing Cloud SDK (ANDROID) - RejectedExecutionException

We are frequently seeing a lot of this fatal crash in our production app. It's our highest crash (thousands of users) with our latest release. Is there any way we can work around this issue? ...
1
vote
0answers
80 views

Error receiving notifications from Journey Builder in android with SDK v6.3.4

🙏🏽 Hello everyone, I’d implemented Marketing Cloud sdk on android to receive push notifications. The notifications are working perfect from Mobile Push, however, when we send it from Journey ...
0
votes
1answer
53 views

Salesforce Marketing Cloud - MobilePush - Cordova Plugin Android integration Issue

I am trying to integrate Salesforce Marketing Cloud SDK with Android using Cordova Plugin. But I am getting gradle build issues. Below is the Error: ERROR: Unable to resolve dependency for ':app@...
0
votes
1answer
100 views

Native Android/iOS Authentication with Authenticated Site/Customer Portal

I am working on integrating a native android and iOS project into a Salesforce environment. We have successfully ran the forcedroid and forceios commands to get functioning projects and have been able ...
0
votes
0answers
122 views

Registration Manager sometimes null but SDK correct initialized

sometimes i receive a null pointer exception inside my app when i want to send some data with the registration manager to the SFMC. java.lang.NullPointerException: Attempt to invoke interface method '...
0
votes
1answer
55 views

Hybrid MCCordovaPlugin not compatible Android 4.4 to 6.0

We are building an application with Ionic 4 and Angular , we are trying to implement MCCordovaPlugin in our application, but we have some issues with it. We want our application to work on Android 4.4 ...
0
votes
1answer
152 views

Android Switching Business Unit

i am facing the situation that inside my Android Application the user could switch between different Business Units. Inside the Documentation for iOS there is a part for switching between Business ...
1
vote
0answers
17 views

Android SDK app should ask login only for first time

I am Android developer, I am using Salesforce SDK for android to connect with Salesforce data. I need to develop time punches app, In this user can punch in and punch out. In this case Android App ...
1
vote
1answer
2k views

Push Notification not showing up when app is closed

i've implemented the SF Mobile Push SDK into my app and the Messages im sending from the SFMC are showing up when the App is in Foreground and Background. When i close the app (for example swipe it ...
1
vote
1answer
87 views

Migrating from v5.6.2 to v6.1.0

Due to the April 11 deprecation of GCM client and the deprecation of SDK versions below 6.x.x of Mobile Marketing Cloud SDK, we're migrating our SDK versions. I'm having trouble implementing and ...
1
vote
1answer
229 views

SFMC Android Handling Notifications not through the SDK

I'm working with an app vendor who for some reason doesn't want to let the SDK handle the Marketing Cloud push notifications in their onMessageReceived method in their notification service. ...
0
votes
1answer
78 views

How to stop contact registration from Android App to Salesforce marketing cloud?

How do I stop auto contact registration from Android app into marketing cloud. I've already integrated android app with sales cloud and also storing device id etc. in sales cloud. Same is subsequently ...
2
votes
1answer
117 views

Salesforce Marketing Cloud Android SDK Geofencing

I have been following this this guide. However I always end up with the initialisation status of COMPLETED_WITH_DEGRADED_FUNCTIONALITY: InitializationStatus{status=...
1
vote
1answer
76 views

Android - Recieving all push notifications, not distinguished by TAG

I've setup the MC Sdk, I am recieving notifications as intended. The thing is that if I send a notification only to one specific Tag I am not subscribed to, I get the notification anyway. While ...
2
votes
1answer
67 views

Marketing Cloud Android sdk removeAttribute() changed

Due to the Marketing cloud will stop support GCM push messaging i updated the ExactTarget SDK version 4.5.0 to Marketing cloud SDK version 6.0.2. in Cloud marketing updating documentation file (link ...
1
vote
1answer
228 views

Missing required properties: notificationCustomizationOptions error when using MC-Cordova-Plugin on Android

I am implementing the MC-Cordova-Plugin into an app. I am able to create an android build but when running it on a device, I receive this error. I have set this preference inside the android ...
0
votes
1answer
276 views

Salesforce to android Native App connetivity Using Access Token

Unable to get access token. here my code given below public class MainActivity extends Activity { private static final String query = "SELECT Name, Idfrom Account"; private static final String ...
2
votes
0answers
100 views

NPE causing crash using Android marketingcloudsdk 5.3.+

Facing this kind of crash while using MC 5.3.+ Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.salesforce.marketingcloud.MCReceiver: java.lang.NullPointerException: Attempt ...