GantMan / GantMan/jail-monkey

iOS: missing API methods (3.0.0-0, new arch)

Open
#355 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
757
Forks
166
PR merge metrics
No merged PRs in 30d

Description

The native iOS implementation does not follow the TS interface.

The JailMonkey exports only canMockLocation boolean and getConstants function, which does not follow the TS interface, it seems the TurboModules implementation is incomplete?

Example
```
console.log('JailMonkey', JailMonkey)
LOG JailMonkey {"canMockLocation": false, "getConstants": [Function getConstants]}

console.log('JailMonkey', JailMonkey.getConstants())
LOG JailMonkey {"canMockLocation": false, "isJailBroken": false, "jailBrokenMessage": ""}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the TypeScript interface with the iOS TurboModules implementation and the methods exposed by JailMonkey. Start with the iOS export and getConstants behavior shown in the report. Done means the native iOS implementation exposes the interface methods and returns the expected values through the new architecture.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.