getting offers with Mobile SDK - which method to use | Community
Skip to main content
Michael_Soprano
Level 10
October 8, 2025
Solved

getting offers with Mobile SDK - which method to use

  • October 8, 2025
  • 1 reply
  • 212 views

I see two main methods:

1. getPropositions() - This API retrieves the previously fetched propositions, for the provided decision scopes, from the in-memory extension propositions cache.

As I understand its not new request but it takes what is already in Cache? Does it also include capping?

2. updatePropositionsWithCompletionHandler() - this one gets propositions if there is nothing in Cache?

Best answer by Devyendar

Yes, you’re right.

getPropositions() allows re-rendering of propositions that were already rendered using the sendEvent command (it doesn’t make a new network call).

updatePropositionsWithCompletionHandler() fetches fetch decision propositions, the returned decision propositions are cached in-memory which can be retrieved using getPropositions.

1 reply

Devyendar
DevyendarAccepted solution
Level 6
October 9, 2025

Yes, you’re right.

getPropositions() allows re-rendering of propositions that were already rendered using the sendEvent command (it doesn’t make a new network call).

updatePropositionsWithCompletionHandler() fetches fetch decision propositions, the returned decision propositions are cached in-memory which can be retrieved using getPropositions.