Skip to content

Commit

Permalink
should build and fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiCheng-Lu committed Nov 12, 2024
1 parent 22655b2 commit 29b2cfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
name: Install Ninja
command: sudo apt-get update && sudo apt-get install -y ninja-build
- run: chown -R $USER:$USER android
- run: cd android && ./gradlew
- run: cd android && ./gradlew assembleDebug

ios:
macos:
xcode: "15.3.0"
Expand All @@ -70,7 +71,7 @@ jobs:
command: npm run install-radar-rebuild-dirty
- run: cd ios && pod update RadarSDK && pod install
- run: xcodebuild -workspace ios/Example.xcworkspace -scheme Example -sdk iphonesimulator


workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion android/src/main/java/io/radar/react/RNRadarReceiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void onEventsReceived(@NonNull Context context, @NonNull RadarEvent[] eve
WritableMap map = Arguments.createMap();
map.putArray("events", RNRadarUtils.arrayForJson(RadarEvent.toJson(events)));
if (user != null) {
map.putMap("user", RNRadarUtils.mapForJson(user.toJson()));
map.putMap("user", RNRadarUtils.mapForoJson()));
}

sendEvent("events", map);
Expand Down

0 comments on commit 29b2cfb

Please sign in to comment.