Get and Update Project Settings

Get and Update Project Settings

The Get and Update Project Settings feature ensures that your Android application always stays in sync with the latest Full Stack configuration defined in PageSense.

Project settings include:

  • Active experiments

  • Variations and traffic allocation

  • Goals

  • Audience targeting rules

Since experiments can be updated over time, the SDK provides a polling-based mechanism to fetch the latest configuration automatically.

How project settings are updated  

The Android SDK uses a foreground-aware polling strategy to refresh project settings efficiently without unnecessary network usage.

There is no webhook support for Android Full Stack SDK.
All updates are handled through controlled polling.

Polling strategy  

Default behavior  

  • Default polling interval: 5 minutes

  • Project settings are refreshed automatically when:
    The app enters the foreground
    The network connection becomes available

This ensures the app always starts with the latest configuration when the user opens it.

Polling interval rules  

The polling interval is user-configurable, with the following constraints:

  • Minimum allowed interval: 5 minutes

  • Any value greater than or equal to 5 minutes is permitted

  • Polling intervals shorter than 5 minutes are not allowed

  • If a value lower than 5 minutes is configured, it is automatically normalised to 5 minutes

This prevents excessive network usage and ensures stable SDK behavior.

Polling lifecycle  

Polling starts when:  

  • The app enters the foreground

  • Network connectivity becomes available

Polling stops when:  

  • The app enters the background

  • The app process is terminated

  • The app is closed

Every time the app moves from background to foreground:

  • Project settings are refreshed immediately

  • The polling timer is reset

If the app remains active for more than 5 minutes, polling will automatically fetch updates again based on the configured interval.

Manually triggering a project settings refresh  

You can manually request the latest project settings using the following API,This call fetches the latest configuration from PageSense and updates the SDK state accordingly.

pageSenseClient.getAndUpdateProjectSettings("accountName","sdkKey","projectName")

Parameter details:  

Parameter

Type

Required

Description

accountName

String

Yes

The unique identifier of your PageSense account.

sdkKey

String

Yes

The secure key for the environment, available under the Environment section of the PageSense application.

projectName

String

Yes

The name of the project as defined in your PageSense account.

 

API response behavior  

When updates are available  

If new project settings are detected, the API responds with a 200 OK status and updates the following fields internally:

  • projectVersion

  • schemaVersion

  • lastUpdatedTime

These values indicate that new configuration changes have been applied.

When no updates are available  

If there are no changes in the project configuration, the API returns a 204 No Content response.

This means:

  • The SDK continues using the existing project settings

  • No changes are applied

  • No action is required

Important notes  

  • Polling happens only when the app is active

  • Configuration updates are lightweight and optimized

  • Developers do not need to manage background threads manually

  • This mechanism ensures users are not served outdated experiment configurations

Best practices  

  • Keep the default polling interval unless you have a strong reason to change it

  • Avoid forcing frequent polling to reduce battery and network usage

  • Let the SDK manage foreground and background transitions automatically

 

 


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              TypeformWCAG

                                All-in-one knowledge management and training platform for your employees and customers.


                                            Create. Review. Publish.

                                            Write, edit, collaborate on, and publish documents to different content management platforms.

                                            Get Started Now




                                                              You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                  Manage your brands on social media


                                                                    • Desk Community Learning Series


                                                                    • Digest


                                                                    • Functions


                                                                    • Meetups


                                                                    • Kbase


                                                                    • Resources


                                                                    • Glossary


                                                                    • Desk Marketplace


                                                                    • MVP Corner


                                                                    • Word of the Day


                                                                    • Ask the Experts


                                                                      Zoho Sheet Resources

                                                                       

                                                                          Zoho Forms Resources


                                                                            Secure your business
                                                                            communication with Zoho Mail


                                                                            Mail on the move with
                                                                            Zoho Mail mobile application

                                                                              Stay on top of your schedule
                                                                              at all times


                                                                              Carry your calendar with you
                                                                              Anytime, anywhere




                                                                                    Zoho Sign Resources

                                                                                      Sign, Paperless!

                                                                                      Sign and send business documents on the go!

                                                                                      Get Started Now




                                                                                              Zoho TeamInbox Resources





                                                                                                        Zoho DataPrep Demo

                                                                                                        Get a personalized demo or POC

                                                                                                        REGISTER NOW


                                                                                                          Design. Discuss. Deliver.

                                                                                                          Create visually engaging stories with Zoho Show.

                                                                                                          Get Started Now








                                                                                                                              • Related Articles

                                                                                                                              • Initialization of Android Full Stack SDK

                                                                                                                                After installing the PageSense Android Full Stack SDK, the next step is to initialize it with your project configuration. Initialization connects your app to PageSense and loads the Full Stack project settings required to run experiments. In Android, ...
                                                                                                                              • Get and Update Project Settings

                                                                                                                                The getAndUpdateProjectSettings() API is responsible for retrieving the latest project configuration from the PageSense servers and updating the SDK’s internal state accordingly. This ensures that your application always operates with the most recent ...
                                                                                                                              • Get Variation Name

                                                                                                                                The Get Variation Name API allows you to retrieve the variation assigned to a user for a specific Full Stack A/B experiment without re-evaluating or re-activating the experiment. This is useful when you want to: Fetch the already assigned variation ...
                                                                                                                              • Get and Update Project Settings

                                                                                                                                Overview The getAndUpdateProjectSettings API is used to fetch the latest project setting details from the PageSense server and update the SDK accordingly. This ensures your application remains fully synchronised with any updates made in the PageSense ...
                                                                                                                              • Get and Update Project Settings

                                                                                                                                Overview The getAndUpdateProjectSettings API is used to fetch the latest project setting details from the PageSense server and update the SDK accordingly. This ensures your application remains fully synchronised with any updates made in the PageSense ...
                                                                                                                                Wherever you are is as good as
                                                                                                                                your workplace

                                                                                                                                  Resources

                                                                                                                                  Videos

                                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                  eBooks

                                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                  Webinars

                                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                  CRM Tips

                                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                                    Zoho Show Resources