typesense / typesense/typesense-js

Request to Node 0 failed due to "undefined Network Error" | Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.

Open
#189 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
569
Forks
99
Avg merge
5h 6m
Merged PRs (30d)
2

Description

Description

I'm using TypesenseInstantSearchAdapter from 'typesense-instantsearch-adapter' and InstantSearch, useInfiniteHits, useSearchBox from 'react-instantsearch-core' in my react native app, when i run the app for ios that part works, but in android don't working

Information about it

image image

That is my dependencies in my package.json

"dependencies": {
    "@apollo/client": "^3.8.4",
    "@react-native-async-storage/async-storage": "^1.19.3",
    "@react-native-firebase/app": "^18.5.0",
    "@react-native-firebase/auth": "^18.5.0",
    "@react-native-firebase/messaging": "^18.5.0",
    "@react-native-masked-view/masked-view": "^0.2.9",
    "@react-navigation/bottom-tabs": "^6.2.0",
    "@react-navigation/native": "^6.1.8",
    "@react-navigation/native-stack": "^6.9.14",
    "@reduxjs/toolkit": "^1.9.6",
    "@sentry/cli": "^2.22.3",
    "@sentry/react-native": "^5.14.1",
    "i18next": "^23.5.1",
    "mixpanel-react-native": "^2.2.5",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-fast-compare": "^3.2.2",
    "react-i18next": "^13.2.2",
    "react-instantsearch-core": "^7.3.0",
    "react-instantsearch-hooks": "^6.47.3",
    "react-native": "^0.72.7",
    "react-native-autocomplete-dropdown": "^3.1.0",
    "react-native-bootsplash": "^5.1.3",
    "react-native-bouncy-checkbox": "^3.0.7",
    "react-native-config": "^1.5.1",
    "react-native-countdown-circle-timer": "^3.2.1",
    "react-native-date-picker": "^4.2.6",
    "react-native-device-info": "^10.12.0",
    "react-native-geolocation-service": "^5.3.0-beta.4",
    "react-native-gesture-handler": "^2.13.1",
    "react-native-image-picker": "^5.6.1",
    "react-native-image-slider-box": "megamaxs1234/react-native-image-slider-box",
    "react-native-indicators": "^0.17.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-linear-gradient": "^2.8.3",
    "react-native-maps": "^1.7.1",
    "react-native-mask-input": "^1.2.3",
    "react-native-modalize": "^2.0.13",
    "react-native-pdf": "^6.7.1",
    "react-native-portalize": "^1.0.7",
    "react-native-progress": "^5.0.0",
    "react-native-ratings": "^8.1.0",
    "react-native-reanimated": "^3.6.1",
    "react-native-reanimated-carousel": "^3.1.0",
    "react-native-safe-area-context": "^4.7.2",
    "react-native-screens": "^3.25.0",
    "react-native-share": "^9.4.1",
    "react-native-skeleton-placeholder": "^5.0.0",
    "react-native-star-rating-widget": "^1.2.0",
    "react-native-toast-message": "^2.1.8",
    "react-native-uuid": "^2.0.1",
    "react-native-webview": "^13.5.0",
    "react-native-youtube-iframe": "^2.3.0",
    "react-redux": "^8.1.3",
    "redux": "^4.2.1",
    "redux-persist": "^6.0.0",
    "tslib": "^2.3.0",
    "typesense-instantsearch-adapter": "^2.7.1"
  },

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android failure with the listed React Native, InstantSearch, and Typesense InstantSearch Adapter dependencies, then compare it with the working iOS setup. Trace the integration that produces the reported network and malformed-JS-call errors; done means identifying the Android-specific cause and documenting or verifying a fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.