Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improve documentation 17.11.2023 #2613

Merged
merged 2 commits into from
Nov 19, 2023

Conversation

cervebar
Copy link
Contributor

@cervebar cervebar commented Nov 17, 2023

docs fixes

  • improve setup of project

  • remove not working scripts and urls

  • I managed to get Android example app to work, but unfortunately not the iOS, see notes bellow:

update IAPExample React to 18.2.0

iOS exampke currently not buildable because of:

  • because of obsolete pods:
 $ yarn pods
rbenv: pod: command not found

The `pod' command exists in these Ruby versions:
 2.7.4

fixed but then build failed

The following build commands failed:
	CompileC /Users/babu/Library/Developer/Xcode/DerivedData/IapExample-ddzasbbwninhdjgvtldlfwsnfkwf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/json.o /Users/babu/work/powerful-medical/dev/react-native-iap/IapExample/ios/Pods/RCT-Folly/folly/json.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
(1 failure)

-> this needs more time and investigation, and the question is, is it worth the time? - anyway added warning for anybody trying to build it regarding this README

@cervebar cervebar marked this pull request as ready for review November 17, 2023 15:45
Copy link
Member

@hyochan hyochan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat document! Thanks a lot for this @cervebar. I'll change the react version.

@@ -7002,7 +7002,7 @@ __metadata:
jest: ^29.0.0
lodash: 4.17.21
metro-react-native-babel-preset: ^0.76.0
react: 17.0.2
react: 18.2.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice upgrade but it looks like this should be 18.0.0 based on https://react-native-community.github.io/upgrade-helper/?from=0.68.2&to=0.69.2

@hyochan hyochan changed the title improve documentation 17.11.2023 docs: improve documentation 17.11.2023 Nov 19, 2023
@hyochan hyochan added 📖 documentation Improvements or additions to documentation 📗 example labels Nov 19, 2023
@hyochan hyochan merged commit ef3bb86 into dooboolab-community:main Nov 19, 2023
1 check passed
arthurgeron pushed a commit to arthurgeron/react-native-iap that referenced this pull request Jan 7, 2024
## docs fixes
- improve setup of project
- remove not working scripts and urls

- I managed to get Android example app to work, but unfortunately not
the iOS, see notes bellow:

## update `IAPExample` React to `18.2.0`
    
- because of `TypeError: undefined is not an object (evaluating
'ReactCurrentActQueue$1.isBatchingLegacy')`
 - see here: facebook/react-native#34079


## iOS exampke currently not buildable because of:
- because of obsolete pods:
 ```
  $ yarn pods
rbenv: pod: command not found

The `pod' command exists in these Ruby versions:
  2.7.4
```
- see here: facebook/react-native#38921

fixed but then build failed
```
The following build commands failed:
CompileC
/Users/babu/Library/Developer/Xcode/DerivedData/IapExample-ddzasbbwninhdjgvtldlfwsnfkwf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/json.o
/Users/babu/work/powerful-medical/dev/react-native-iap/IapExample/ios/Pods/RCT-Folly/folly/json.cpp
normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target
'RCT-Folly' from project 'Pods')
(1 failure)
``` 

-> this needs more time and investigation, and the question is, is it worth the time? - anyway added warning for anybody trying to build it regarding this README

---------

Co-authored-by: hyochan <dooboolab@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 documentation Improvements or additions to documentation 📗 example
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants