Featurehub working in iOS but not in Android. #619
Replies: 4 comments 1 reply
-
Hi there, could you please let us know the following:
Thanks |
Beta Was this translation helpful? Give feedback.
-
The problem not occurring on iOS's React Native runtime and occurring on Android's React Native runtime implies that the issue is with React Native and the way it is interacting, especially if everything else has remained the same. So any errors or traffic captures you can provide us would be helpful. We know there are issues with SSE on Android with React Native, but you have indicated these issues have suddenly appeared, so thats unlikely to be it. So if I could add - are you using the GET method or SSE? |
Beta Was this translation helpful? Give feedback.
-
Hi @rvowles and @IrinaSouth , Current installed version is 1.2.0. Attaching my code for you reference `import { const edgeUrl = "https://abc.xyz.xux/features/"; const apiKey = APINETWORK.featurehub; const FREQUENCY = 500000; let initialized = false; export const FETCH_FEATUREHUB_REQUEST = "FETCH_FEATUREHUB_REQUEST"; const FeatureHubInitialState = { export const fetchFeatureHub = () => { export const featureHubReducer = (state = FeatureHubInitialState, action) => {
} export const fetchFeaturehubAsyncCreator = () => {
}; Getting the mentioned warning in console and no api of featurehub getting called. In IOS the logs appear in following way in console : You can also refer to my previous issue #477. After this all was working. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure we can help you here I'm sorry - the fact that the SDK is exactly the same code, and it works on iOS indicates there is a problem somewhere else in the stack that is preventing the outgoing call from going ahead. I can only recommend that you debug into FeatureHubPollingClient on your Android client and see if you can see it making the request (this will be the init call) and find out what is going on. Please keep us in the loop as anything you find will be helpful to others! |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Featurehub was working in Android before but now has stopped. Same code has been written for iOS and that is working till date. Upgrading the version of Feaurehub also not helpful.
Which area does this issue belong to?
Expected behavior
It should work for Android as well.
Versions
Beta Was this translation helpful? Give feedback.
All reactions