Skip to content

huma-engineering/huma-fivelives-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

SamplePoc

This is a small proof-of-concept app demonstrating the loading of FiveLive's SDK game view. It's using the newly written wrapper called RNViewManager. RNViewManager is added on top of the existing React Native-based FiveLivesSDK.

Important notes

  • Added a local RNFivesLivesSDK pod in Podfile
  • Created RNFivesLivesSDK.podspecs to import RNFiveLivesSDK library

FivesLivesSDK

This is existing FiveLives' React Native-based SDK.

Important notes

  • created two scripts inside /scripts folder: bundle-ios.sh and build-fw-ios.sh
  • the new scripts are added to package.json as new run command build-sdk-ios
  • bundle-ios.sh creates index.js
  • build-fw-ios.sh generates resources and frameworks from RN library

New native wrapper

  • RNFivesLivesSDK is the new native-based wrapper SDK where it exposes RNViewManager. The latter exposes the game view from RN JS bundle.
  • This new wrapper SDK will be imported as local development pod in SamplePoc app

About

A proof-of-concept project showcasing a native Swift app integrating and calling functions from a React Native-based library developed by FiveLives.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors