oursky / react-native-oursky Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Sometimes we will not support all of the countries.
I would like to make options of country list could be customized,
I think we can do:
In my opinion, I prefer to override default country codes.
I think enable/disable specify countries will be a bit complex for the setting, override default country codes could be more flexible and easier to use.
So I would like to do:
countryCodes
to defaultCountryCodes
(the country codes array)countryCodes: Country[]
to CountryPickerProps
const countryCodes: Country[] = this.props.countryCodes || defaultCountryCodes
Any thoughts?
as title description.
related issue: facebook/react-native#16826
Reproduce by code example:
// FromScreen.js: append `multiline={true}` to the last one of textinput
...
<FormField index={4} style={styles.input}>
{props => (
<View style={styles.inputContainer}>
<TextInput
ref={props.focusableRef}
onSubmitEditing={props.onSubmitEditing}
blurOnSubmit={props.blurOnSubmit}
multiline={true} <---- this line
placeholder="Input 5"
/>
</View>
)}
</FormField>
...
https://github.com/react-native-community/react-native-picker
Currently it would trigger a warning asking apps to migrate to this standalone version instead.
We should have a instance method to focus mobile number textinput in SignupWithMobile
Now, the country picker will show the placeholder by default.
TODO:
Layout Implementation
Maybe Later
Component Details
Go to setting
Maybe later
Android implementation documents:
Now that we have monorepo, the package cannot be consumed directly via Github URL. So it does not matter we have to an extra step (compiling TypeScript to JavaScript) before publishing.
Without 1.5x, 2x and 3x, some images cannot be shown / are blurred
To explain what the project is about so people can take a quick look and aware of what is it.
New version of iOS supports dark mode. Components in this library should support using dark mode.
Layout Implementation
We have sent you a 4 digit code to {Country Code + Phone number}, please enter the code below
Behaviour
Timer
As title, oursky often need chinese and english. Sometime Italiano.
https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0660
PickerIOS was removed in 0.66
A few days ago, we set up "example" project for development (#5) and we changed the project to use mono repo structure. After a few iterations, I feel this is a wrong decision to use mono repo.
After changed to mono repo structure, we cannot use git to install the package but through npm. That means we need to publish a new version whatever has changed. For a library under active development like this library, this really slows down the projects which use this library because we need to wait for publishing to npm.
One example is if I want to use a new feature that is in PR review status and I really need, I have to create a new temporary branch and merge that PR into that branch and then publish to npm with alpha or beta tag. However, if we give up mono repo structure, we can just install via git, which steps are simpler.
Therefore, I suggest we give up mono repo structure.
@louischan-oursky What do you think?
cc @rickmak
Layout Implementation
Get Started
titleNumber
,Entering page
phone-pad
immediatelyButton Behaviour
Country picker
Next
button
Skip for now
buttonLayout Implementation
Component Details
Readme
To allow native code to be provided by this package.
Please add the following to .gitignore:
*.pem
*.cer
*.cert
*.p12
*.pfx
*.key
.env
docker-compose.override.yml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.