Releases: ankitguptag18/Siren
Releases · ankitguptag18/Siren
HTTP Headers and Custom message from server support added
If you have more than one supported APK in production based on the min supported API Level, you may want to send a different response from the server for the different version of the app for the same URL. you can add few HTTP header to installed version and get the appropriate data for that version from the server. If you have a paid app and a free app as different product flavors with the same code base. You can pass the application name as a header and backend server will send return correct response to that app.
You can send custom message server side. e.g if the user language is currently not supported by the library, you can send the message from the server.