Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

how to enable / disable on device in Java SDK

Avatar

Level 3

Is there a way to enable/disable on-device decisionings in the Java server side SDK?

1 Accepted Solution

Avatar

Correct answer by
Level 6

@rrrrrraul Install and initialize the Node.js or Java SDK with decisioningMethod = on-device.

 

https://adobetarget-sdks.gitbook.io/docs/getting-started/java

View solution in original post

6 Replies

Avatar

Correct answer by
Level 6

@rrrrrraul Install and initialize the Node.js or Java SDK with decisioningMethod = on-device.

 

https://adobetarget-sdks.gitbook.io/docs/getting-started/java

Avatar

Level 3
@josejr19 there doesn't seem to be anything in the Java documentation on how to do this in the code

Avatar

Level 6
Yea I was having hard time finding it in the java doc as well. I would look closely at sample code to see where the value is typically set and use the same options provided in the nodejs documentation. My recommendation outside of documentation is confirm with client support.

Avatar

Administrator

@DavidSonPM was also able to weigh in on your question here during his 7.21.21 Adobe Target Community Q&A Coffee Break! His answer below:

" Yes, there are a couple of ways you can turn on / off on-device decisioning for the Java SDK
1. When you initialize the Java SDK you can set the default decisioningMethod variable for all decisions. You can set it to ON_DEVICE or HYBRID. Setting it to ON_DEVICE will have all requests execute on-device while HYBRID will ask the SDK to make the decision for you whether it may be server-side or on-device depending on the activity that is created.
2. You can override at the getOffers() method to choose which decisioningMethod you want to use request by request."