Commit bb074d8e authored by bijh's avatar bijh

add init

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

<!--
Hi there and thank you for your feature request! 🆕🆕🆕
If you want to report a bug, use this link instead:
https://github.com/rebeccahughes/react-native-device-info/issues/new
-->
## Description
<!-- What would you like to see implemented? How? -->
## Use Case
<!-- Describe a scenario where this feature could come handy -->
<!--
Hi there and thank you for reporting a bug! 🐛🐛🐛
If you want to submit a feature request, use this link instead:
https://github.com/rebeccahughes/react-native-device-info/issues/new?template=feature_request.md
-->
## Summary
| | |
| ----------- | --- |
| Version | ? |
| Affected OS | ? |
| OS Version | ? |
## Current behavior
<!-- Describe the issue you are facing, including any available error
message, logs, stack trace .. -->
## Expected behavior
<!-- What should have happened instead of this bug -->
<!--
Hi there and thank you for your change proposal!
Please fill out the following template to make the review process
as quick and smooth as possible.
-->
## Description
Fixed issue #<issue-number>
<!-- OR, if you're implementing a new feature: -->
Added `yourNewMethodName()` that allows ...
## Compatibility
| OS | Implemented |
| ------- | :---------: |
| iOS | ✅❌ |
| Android | ✅❌ |
| Windows | ✅❌ |
## Checklist
<!-- Check completed item: [X] -->
* [ ] I have tested this on a device/simulator for each compatible OS
* [ ] I added the documentation in `README.md`.
* [ ] I mentionned this change in `CHANGELOG.md`.
{
"useTabs": false,
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "es5",
"jsxBracketSameLine": false,
"bracketSpacing": true
}
## Release Notes
### next
### 0.21.5
* Rolled back the Pod change made in 0.21.1
### 0.21.4
* Move back the podspec file to the root directory (https://github.com/rebeccahughes/react-native-device-info/pull/376)
### 0.21.3
* Moved the IOS code to an ios/ directory (https://github.com/rebeccahughes/react-native-device-info/pull/374)
### 0.21.2
* Fix getBatteryLevel() for tvOS (always return 1) (https://github.com/rebeccahughes/react-native-device-info/pull/363)
### 0.21.1
* Remove deprecated React pod dependency (https://github.com/rebeccahughes/react-native-device-info/pull/361)
### 0.21.0
* Add more gradle configuration properties `compileSdkVersion`, `buildToolsVersion`, `targetSdkVersion` (https://github.com/rebeccahughes/react-native-device-info/pull/343)
### 0.20.0
* Made the following methods compatible with UWP: (https://github.com/rebeccahughes/react-native-device-info/pull/345)
* `getBatteryLevel()`
* `getFirstIntallTime()`
* `getIPAddress()`
* `getMaxMemory()`
* `isPinOrFingerprintSet()`
### 0.19.0
* Add `getInstallReferrer` (https://github.com/rebeccahughes/react-native-device-info/pull/344)
### 0.18.0
* Add `getBatteryLevel` (https://github.com/rebeccahughes/react-native-device-info/pull/359)
### 0.17.4
* Fix `getMACAddress` for Android > 6 (https://github.com/rebeccahughes/react-native-device-info/pull/349)
### 0.17.3
* Fix production build crash on Android introduced in #313
### 0.17.2
* Enhance `isTablet()` for android by checking display density (https://github.com/rebeccahughes/react-native-device-info/pull/313)
* Changed iOS target deployment from 9.0 to 8.0 for broader device support (https://github.com/rebeccahughes/react-native-device-info/issues/19)
### 0.17.1
* Fix bad import for web polyfill
### 0.17.0
* Add an empty polyfill for `react-native-web` users (https://github.com/rebeccahughes/react-native-device-info/pull/339)
### 0.16.0
* Add the `googlePlayServicesVersion` Gradle build config that allows you to set the Play Services version from the root-project (https://github.com/rebeccahughes/react-native-device-info/pull/333)
### 0.15.3
* Fix crash on iOS: prevent insertion of nil values in the dictionary (https://github.com/rebeccahughes/react-native-device-info/pull/328)
### 0.15.2
* Fix crash on `getFreeDiskStorage` and `getTotalDiskCapacity` from invalid filesystem path (https://github.com/rebeccahughes/react-native-device-info/issues/320)
### 0.15.1
* Fix Android compatibility for `getFreeDiskStorage` and `getTotalDiskCapacity` (https://github.com/rebeccahughes/react-native-device-info/pull/319)
### 0.15.0
* Add `getFontScale` (https://github.com/rebeccahughes/react-native-device-info/pull/278)
* Add `getFreeDiskStorage` and `getTotalDiskCapacity` (https://github.com/rebeccahughes/react-native-device-info/pull/302)
* Fix missing flow definition for `getApplicationName`
### 0.14.0
* Fix tvOS support (https://github.com/rebeccahughes/react-native-device-info/pull/283)
* Introduced `getApplicationName` to see the name of the app both on ios, android and win
* https://github.com/rebeccahughes/react-native-device-info/pull/210
* https://github.com/rebeccahughes/react-native-device-info/pull/295
* Added `getTotalMemory` and `getMaxMemory` (https://github.com/rebeccahughes/react-native-device-info/pull/289)
* Fix iOS undefined native module error (https://github.com/rebeccahughes/react-native-device-info/pull/276)
* Fix crash on `getUserAgent` when Webview is not installed (https://github.com/rebeccahughes/react-native-device-info/pull/273)
### 0.13.0
* Add `getCarrier` (https://github.com/rebeccahughes/react-native-device-info/pull/261)
* Disable `isPinOrFingerprintSet` for tvOS (https://github.com/rebeccahughes/react-native-device-info/pull/270)
* Add `is24Hour` (https://github.com/rebeccahughes/react-native-device-info/pull/265)
* Remove unused windows dependency (https://github.com/rebeccahughes/react-native-device-info/pull/263)
* Add missing typescript definitions (https://github.com/rebeccahughes/react-native-device-info/pull/254)
* Make play-services optional (https://github.com/rebeccahughes/react-native-device-info/pull/226)
### 0.12.1
* Critical fix on WIFI STATE (https://github.com/rebeccahughes/react-native-device-info/pull/249)
### 0.12.0
* Get real WebView UserAgent on Android (https://github.com/rebeccahughes/react-native-device-info/pull/207)
* Add DeviceUID.h to public headers (https://github.com/rebeccahughes/react-native-device-info/pull/217)
* Add `getPhoneNumber` (https://github.com/rebeccahughes/react-native-device-info/pull/174)
* Fix typescript definitions (https://github.com/rebeccahughes/react-native-device-info/pull/221)
* Add `getFirstInstallTime` and `getLastUpdateTime` (https://github.com/rebeccahughes/react-native-device-info/pull/222)
* Added version check and permission to work with Android API >= 16 (https://github.com/rebeccahughes/react-native-device-info/pull/225)
* Added device detection even when in an iOS emulator (https://github.com/rebeccahughes/react-native-device-info/pull/224)
* Add support for new iPhone, iPad, and Apple TV models (https://github.com/rebeccahughes/react-native-device-info/pull/230)
* Add android only `getAPILevel` method (https://github.com/rebeccahughes/react-native-device-info/pull/232)
* Add Android support for serial number, IP, and MAC address (https://github.com/rebeccahughes/react-native-device-info/pull/150)
* Add tvOS support (https://github.com/rebeccahughes/react-native-device-info/pull/235)
* Add flow types
* Fix getCurrentActivity() null crash in Android (https://github.com/rebeccahughes/react-native-device-info/pull/247)
[Diff](https://github.com/rebeccahughes/react-native-device-info/compare/1aafc6f0b20d7cd6f0939ea5370e9899e4914c93...master)
### 0.11.0
* Add support for RN > 0.47
* Update typescript definitions
[Diff](https://github.com/rebeccahughes/react-native-device-info/compare/5b869cdd5e16b65cbe4e85a565aa331bd7546b89...1aafc6f0b20d7cd6f0939ea5370e9899e4914c93)
### 0.10.2
* Add typescript definitions
[Diff](https://github.com/rebeccahughes/react-native-device-info/compare/f3967862711892615e7f51d49d0034ee134f3e3d...5b869cdd5e16b65cbe4e85a565aa331bd7546b89)
### 0.10.1
* Add `isPinOrFingerprintSet` method
* Add support for RN > 0.40
[Diff](https://github.com/rebeccahughes/react-native-device-info/compare/c843144ea872a79f4d53a53b32f72511fbfc8d8b...f3967862711892615e7f51d49d0034ee134f3e3d)
### 0.10.0
* Semver fix
[Diff](https://github.com/rebeccahughes/react-native-device-info/compare/e8bfe5ea8d5f5414f2f97f35a5d02b611cbe39e3...c843144ea872a79f4d53a53b32f72511fbfc8d8b)
### 0.9.8
[Diff](https://github.com/rebeccahughes/react-native-device-info/compare/668996c64e23f477fc8156cdc43a49198b4fdd20...e8bfe5ea8d5f5414f2f97f35a5d02b611cbe39e3)
### 0.9.7
Several bugfixes and detecting if device is a tablet
### 0.9.3
adds support for Brand information e.g. apple, htc, etc
### 0.9.1
adds support for the iPhone SE and new iPad Pro
### 0.9.0
adds support for device country and changes the iOS device name to match Apple branding
### 0.8.4
don't use destructuring
### 0.8.3
removes the default bluetooth permission
### 0.8.2
change deployment target to iOS 8
### 0.8.1
removes unnecessary peerDependencies
### 0.8.0
tweaks how device locale works on Android. If it's available it will use the toLanguageTag that is more inline with iOS. (See #14)
### 0.7.0
adds two new parameters, Device Locale and User Agent.
### 0.5.0
adds a new parameter; Device Id. On iOS this is the hardware string for the current device (e.g. "iPhone7,2"). On Android we use the BOARD field which is the name of the underlying board, e.g. "goldfish". The way that the module gets the device model on iOS has also changed to be based on the Device Id; now instead of getting a generic product family e.g. "iPhone", it will return the specific model e.g. "iPhone 6".
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at machour@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
# Contributing
Thank you for your interest in contributing! Please feel free to put up a PR for any issue or feature request.
## Creating issues
If you notice any bugs in the app, see some code that can be improved, or have features you would like to be added, please create an issue!
If you want to open a PR that fixes a bug or adds a feature, then we can't thank you enough! It is definitely appreciated if an issue has been created before-hand so it can be discussed first.
## Submitting pull requests
### Modifying react-native-device-info
1. Fork this repository
2. Clone your fork
3. Make a branch for your feature or bug fix (i.e. `git checkout -b added-getfoobar`)
4. Work your magic
5. Execute `yarn link` when done.
### Testing your changes
You can test your changes on any React Native application you have set up locally.
You can also use the testing application available at https://github.com/machour/react-native-device-info-test.
Just `cd` to your application and type `yarn link react-native-device-info` to make your app use your local modified package instead of the one from npmjs.com (this is what point 5 was about in the previous section).
If you made changes in the native code, don't forget to run `react-native link` before building your React Native application so that latest changes are taken into account.
### Opening the Pull Request
1. Commit your changes with a message following the [Angular commit conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines).
2. Push your branch to your fork
3. Create a pull request from your branch on your fork to `master` on this repo
4. Have your branch get merged in! :star2:
If you experience a problem at any point, please don't hesitate to file an issue to get some assistance!
The MIT License (MIT)
Copyright (c) 2015 Rebecca Hughes
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
This diff is collapsed.
Pod::Spec.new do |s|
s.name = "RNDeviceInfo"
s.version = "0.21.5"
s.summary = "Device Information for react-native"
s.homepage = "https://github.com/rebeccahughes/react-native-device-info"
s.license = "MIT"
s.authors = { "Rebecca Hughes" => "rebecca@learnium.net" }
s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '10.0'
s.source = { :git => "https://github.com/rebeccahughes/react-native-device-info.git" }
s.source_files = "ios/RNDeviceInfo/*.{h,m}"
s.dependency 'React'
end
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value>
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
<value />
</option>
<option name="IMPORT_LAYOUT_TABLE">
<value>
<package name="android" withSubpackages="true" static="false" />
<emptyLine />
<package name="com" withSubpackages="true" static="false" />
<emptyLine />
<package name="junit" withSubpackages="true" static="false" />
<emptyLine />
<package name="net" withSubpackages="true" static="false" />
<emptyLine />
<package name="org" withSubpackages="true" static="false" />
<emptyLine />
<package name="java" withSubpackages="true" static="false" />
<emptyLine />
<package name="javax" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="true" />
<emptyLine />
</value>
</option>
<option name="RIGHT_MARGIN" value="100" />
<AndroidXmlCodeStyleSettings>
<option name="USE_CUSTOM_SETTINGS" value="true" />
</AndroidXmlCodeStyleSettings>
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
</file>
<class>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
</class>
<extensions>
<pair source="cpp" header="h" />
<pair source="c" header="h" />
</extensions>
</Objective-C-extensions>
<XML>
<option name="XML_KEEP_LINE_BREAKS" value="false" />
<option name="XML_ALIGN_ATTRIBUTES" value="false" />
<option name="XML_SPACE_INSIDE_EMPTY_TAG" value="true" />
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="XML">
<option name="FORCE_REARRANGE_MODE" value="1" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:layout_width</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:layout_height</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:layout_.*</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:width</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:height</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
</value>
</option>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
<option name="myNullables">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/android.iml" filepath="$PROJECT_DIR$/android.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>
\ No newline at end of file
This diff is collapsed.
apply plugin: 'com.android.library'
def DEFAULT_COMPILE_SDK_VERSION = 23
def DEFAULT_BUILD_TOOLS_VERSION = "25.0.2"
def DEFAULT_TARGET_SDK_VERSION = 22
def DEFAULT_GOOGLE_PLAY_SERVICES_VERSION = "+"
android {
compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
defaultConfig {
minSdkVersion 16
targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
versionCode 2
versionName "1.1"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
lintOptions {
warning 'InvalidPackage'
abortOnError false
}
}
dependencies {
def googlePlayServicesVersion = project.hasProperty('googlePlayServicesVersion') ? project.googlePlayServicesVersion : DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
compile 'com.facebook.react:react-native:+'
compile "com.google.android.gms:play-services-gcm:$googlePlayServicesVersion"
}
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.learnium.RNDeviceInfo;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.learnium.RNDeviceInfo";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 2;
public static final String VERSION_NAME = "1.1";
}
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.learnium.RNDeviceInfo;
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String APPLICATION_ID = "com.learnium.RNDeviceInfo";
public static final String BUILD_TYPE = "release";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 2;
public static final String VERSION_NAME = "1.1";
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.facebook.drawee;
public final class R {
public static final class attr {
public static int actualImageResource = 0x7f010066;
public static int actualImageScaleType = 0x7f01003a;
public static int actualImageUri = 0x7f010065;
public static int backgroundImage = 0x7f01003b;
public static int fadeDuration = 0x7f01002f;
public static int failureImage = 0x7f010035;
public static int failureImageScaleType = 0x7f010036;
public static int overlayImage = 0x7f01003c;
public static int placeholderImage = 0x7f010031;
public static int placeholderImageScaleType = 0x7f010032;
public static int pressedStateOverlayImage = 0x7f01003d;
public static int progressBarAutoRotateInterval = 0x7f010039;
public static int progressBarImage = 0x7f010037;
public static int progressBarImageScaleType = 0x7f010038;
public static int retryImage = 0x7f010033;
public static int retryImageScaleType = 0x7f010034;
public static int roundAsCircle = 0x7f01003e;
public static int roundBottomLeft = 0x7f010043;
public static int roundBottomRight = 0x7f010042;
public static int roundTopLeft = 0x7f010040;
public static int roundTopRight = 0x7f010041;
public static int roundWithOverlayColor = 0x7f010044;
public static int roundedCornerRadius = 0x7f01003f;
public static int roundingBorderColor = 0x7f010046;
public static int roundingBorderPadding = 0x7f010047;
public static int roundingBorderWidth = 0x7f010045;
public static int viewAspectRatio = 0x7f010030;
}
public static final class id {
public static int center = 0x7f0c001a;
public static int centerCrop = 0x7f0c001b;
public static int centerInside = 0x7f0c001c;
public static int fitCenter = 0x7f0c001d;
public static int fitEnd = 0x7f0c001e;
public static int fitStart = 0x7f0c001f;
public static int fitXY = 0x7f0c0020;
public static int focusCrop = 0x7f0c0021;
public static int none = 0x7f0c0010;
}
public static final class styleable {
public static int[] GenericDraweeHierarchy = { 0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b, 0x7f01003c, 0x7f01003d, 0x7f01003e, 0x7f01003f, 0x7f010040, 0x7f010041, 0x7f010042, 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047 };
public static int GenericDraweeHierarchy_actualImageScaleType = 11;
public static int GenericDraweeHierarchy_backgroundImage = 12;
public static int GenericDraweeHierarchy_fadeDuration = 0;
public static int GenericDraweeHierarchy_failureImage = 6;
public static int GenericDraweeHierarchy_failureImageScaleType = 7;
public static int GenericDraweeHierarchy_overlayImage = 13;
public static int GenericDraweeHierarchy_placeholderImage = 2;
public static int GenericDraweeHierarchy_placeholderImageScaleType = 3;
public static int GenericDraweeHierarchy_pressedStateOverlayImage = 14;
public static int GenericDraweeHierarchy_progressBarAutoRotateInterval = 10;
public static int GenericDraweeHierarchy_progressBarImage = 8;
public static int GenericDraweeHierarchy_progressBarImageScaleType = 9;
public static int GenericDraweeHierarchy_retryImage = 4;
public static int GenericDraweeHierarchy_retryImageScaleType = 5;
public static int GenericDraweeHierarchy_roundAsCircle = 15;
public static int GenericDraweeHierarchy_roundBottomLeft = 20;
public static int GenericDraweeHierarchy_roundBottomRight = 19;
public static int GenericDraweeHierarchy_roundTopLeft = 17;
public static int GenericDraweeHierarchy_roundTopRight = 18;
public static int GenericDraweeHierarchy_roundWithOverlayColor = 21;
public static int GenericDraweeHierarchy_roundedCornerRadius = 16;
public static int GenericDraweeHierarchy_roundingBorderColor = 23;
public static int GenericDraweeHierarchy_roundingBorderPadding = 24;
public static int GenericDraweeHierarchy_roundingBorderWidth = 22;
public static int GenericDraweeHierarchy_viewAspectRatio = 1;
public static int[] SimpleDraweeView = { 0x7f010065, 0x7f010066 };
public static int SimpleDraweeView_actualImageResource = 1;
public static int SimpleDraweeView_actualImageUri = 0;
}
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.facebook.drawee.backends.pipeline;
public final class R {
public static final class attr {
public static int actualImageResource = 0x7f010066;
public static int actualImageScaleType = 0x7f01003a;
public static int actualImageUri = 0x7f010065;
public static int backgroundImage = 0x7f01003b;
public static int fadeDuration = 0x7f01002f;
public static int failureImage = 0x7f010035;
public static int failureImageScaleType = 0x7f010036;
public static int overlayImage = 0x7f01003c;
public static int placeholderImage = 0x7f010031;
public static int placeholderImageScaleType = 0x7f010032;
public static int pressedStateOverlayImage = 0x7f01003d;
public static int progressBarAutoRotateInterval = 0x7f010039;
public static int progressBarImage = 0x7f010037;
public static int progressBarImageScaleType = 0x7f010038;
public static int retryImage = 0x7f010033;
public static int retryImageScaleType = 0x7f010034;
public static int roundAsCircle = 0x7f01003e;
public static int roundBottomLeft = 0x7f010043;
public static int roundBottomRight = 0x7f010042;
public static int roundTopLeft = 0x7f010040;
public static int roundTopRight = 0x7f010041;
public static int roundWithOverlayColor = 0x7f010044;
public static int roundedCornerRadius = 0x7f01003f;
public static int roundingBorderColor = 0x7f010046;
public static int roundingBorderPadding = 0x7f010047;
public static int roundingBorderWidth = 0x7f010045;
public static int viewAspectRatio = 0x7f010030;
}
public static final class id {
public static int center = 0x7f0c001a;
public static int centerCrop = 0x7f0c001b;
public static int centerInside = 0x7f0c001c;
public static int fitCenter = 0x7f0c001d;
public static int fitEnd = 0x7f0c001e;
public static int fitStart = 0x7f0c001f;
public static int fitXY = 0x7f0c0020;
public static int focusCrop = 0x7f0c0021;
public static int none = 0x7f0c0010;
}
public static final class styleable {
public static int[] GenericDraweeHierarchy = { 0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b, 0x7f01003c, 0x7f01003d, 0x7f01003e, 0x7f01003f, 0x7f010040, 0x7f010041, 0x7f010042, 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047 };
public static int GenericDraweeHierarchy_actualImageScaleType = 11;
public static int GenericDraweeHierarchy_backgroundImage = 12;
public static int GenericDraweeHierarchy_fadeDuration = 0;
public static int GenericDraweeHierarchy_failureImage = 6;
public static int GenericDraweeHierarchy_failureImageScaleType = 7;
public static int GenericDraweeHierarchy_overlayImage = 13;
public static int GenericDraweeHierarchy_placeholderImage = 2;
public static int GenericDraweeHierarchy_placeholderImageScaleType = 3;
public static int GenericDraweeHierarchy_pressedStateOverlayImage = 14;
public static int GenericDraweeHierarchy_progressBarAutoRotateInterval = 10;
public static int GenericDraweeHierarchy_progressBarImage = 8;
public static int GenericDraweeHierarchy_progressBarImageScaleType = 9;
public static int GenericDraweeHierarchy_retryImage = 4;
public static int GenericDraweeHierarchy_retryImageScaleType = 5;
public static int GenericDraweeHierarchy_roundAsCircle = 15;
public static int GenericDraweeHierarchy_roundBottomLeft = 20;
public static int GenericDraweeHierarchy_roundBottomRight = 19;
public static int GenericDraweeHierarchy_roundTopLeft = 17;
public static int GenericDraweeHierarchy_roundTopRight = 18;
public static int GenericDraweeHierarchy_roundWithOverlayColor = 21;
public static int GenericDraweeHierarchy_roundedCornerRadius = 16;
public static int GenericDraweeHierarchy_roundingBorderColor = 23;
public static int GenericDraweeHierarchy_roundingBorderPadding = 24;
public static int GenericDraweeHierarchy_roundingBorderWidth = 22;
public static int GenericDraweeHierarchy_viewAspectRatio = 1;
public static int[] SimpleDraweeView = { 0x7f010065, 0x7f010066 };
public static int SimpleDraweeView_actualImageResource = 1;
public static int SimpleDraweeView_actualImageUri = 0;
}
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.facebook.fbui.textlayoutbuilder;
public final class R {
public static final class styleable {
public static int[] TextAppearance = { 0x01010095, 0x01010096, 0x01010097, 0x01010098, 0x01010161, 0x01010162, 0x01010163, 0x01010164, 0x7f010024 };
public static int TextAppearance_android_shadowColor = 4;
public static int TextAppearance_android_shadowDx = 5;
public static int TextAppearance_android_shadowDy = 6;
public static int TextAppearance_android_shadowRadius = 7;
public static int TextAppearance_android_textColor = 3;
public static int TextAppearance_android_textSize = 0;
public static int TextAppearance_android_textStyle = 2;
public static int[] TextStyle = { 0x01010034, 0x01010095, 0x01010097, 0x01010098, 0x010100ab, 0x01010153, 0x0101015d, 0x01010161, 0x01010162, 0x01010163, 0x01010164 };
public static int TextStyle_android_ellipsize = 4;
public static int TextStyle_android_maxLines = 5;
public static int TextStyle_android_shadowColor = 7;
public static int TextStyle_android_shadowDx = 8;
public static int TextStyle_android_shadowDy = 9;
public static int TextStyle_android_shadowRadius = 10;
public static int TextStyle_android_singleLine = 6;
public static int TextStyle_android_textAppearance = 0;
public static int TextStyle_android_textColor = 3;
public static int TextStyle_android_textSize = 1;
public static int TextStyle_android_textStyle = 2;
}
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.facebook.soloader;
public final class R {
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.google.android.gms;
public final class R {
public static final class array {
}
public static final class attr {
public static int buttonSize = 0x7f010062;
public static int circleCrop = 0x7f01004d;
public static int colorScheme = 0x7f010063;
public static int imageAspectRatio = 0x7f01004c;
public static int imageAspectRatioAdjust = 0x7f01004b;
public static int scopeUris = 0x7f010064;
}
public static final class color {
public static int common_google_signin_btn_text_dark = 0x7f0b004d;
public static int common_google_signin_btn_text_dark_default = 0x7f0b0013;
public static int common_google_signin_btn_text_dark_disabled = 0x7f0b0014;
public static int common_google_signin_btn_text_dark_focused = 0x7f0b0015;
public static int common_google_signin_btn_text_dark_pressed = 0x7f0b0016;
public static int common_google_signin_btn_text_light = 0x7f0b004e;
public static int common_google_signin_btn_text_light_default = 0x7f0b0017;
public static int common_google_signin_btn_text_light_disabled = 0x7f0b0018;
public static int common_google_signin_btn_text_light_focused = 0x7f0b0019;
public static int common_google_signin_btn_text_light_pressed = 0x7f0b001a;
public static int common_google_signin_btn_tint = 0x7f0b004f;
}
public static final class dimen {
}
public static final class drawable {
public static int common_full_open_on_phone = 0x7f02003e;
public static int common_google_signin_btn_icon_dark = 0x7f02003f;
public static int common_google_signin_btn_icon_dark_focused = 0x7f020040;
public static int common_google_signin_btn_icon_dark_normal = 0x7f020041;
public static int common_google_signin_btn_icon_dark_normal_background = 0x7f020042;
public static int common_google_signin_btn_icon_disabled = 0x7f020043;
public static int common_google_signin_btn_icon_light = 0x7f020044;
public static int common_google_signin_btn_icon_light_focused = 0x7f020045;
public static int common_google_signin_btn_icon_light_normal = 0x7f020046;
public static int common_google_signin_btn_icon_light_normal_background = 0x7f020047;
public static int common_google_signin_btn_text_dark = 0x7f020048;
public static int common_google_signin_btn_text_dark_focused = 0x7f020049;
public static int common_google_signin_btn_text_dark_normal = 0x7f02004a;
public static int common_google_signin_btn_text_dark_normal_background = 0x7f02004b;
public static int common_google_signin_btn_text_disabled = 0x7f02004c;
public static int common_google_signin_btn_text_light = 0x7f02004d;
public static int common_google_signin_btn_text_light_focused = 0x7f02004e;
public static int common_google_signin_btn_text_light_normal = 0x7f02004f;
public static int common_google_signin_btn_text_light_normal_background = 0x7f020050;
public static int googleg_disabled_color_18 = 0x7f020051;
public static int googleg_standard_color_18 = 0x7f020052;
}
public static final class id {
public static int adjust_height = 0x7f0c0025;
public static int adjust_width = 0x7f0c0026;
public static int auto = 0x7f0c002f;
public static int center = 0x7f0c001a;
public static int dark = 0x7f0c0030;
public static int icon_only = 0x7f0c002c;
public static int light = 0x7f0c0031;
public static int none = 0x7f0c0010;
public static int normal = 0x7f0c000c;
public static int radio = 0x7f0c004a;
public static int standard = 0x7f0c002d;
public static int text = 0x7f0c006a;
public static int text2 = 0x7f0c0068;
public static int wide = 0x7f0c002e;
public static int wrap_content = 0x7f0c0032;
}
public static final class integer {
public static int google_play_services_version = 0x7f0a0004;
}
public static final class layout {
}
public static final class raw {
}
public static final class string {
public static int common_google_play_services_enable_button = 0x7f060011;
public static int common_google_play_services_enable_text = 0x7f060012;
public static int common_google_play_services_enable_title = 0x7f060013;
public static int common_google_play_services_install_button = 0x7f060014;
public static int common_google_play_services_install_text = 0x7f060015;
public static int common_google_play_services_install_title = 0x7f060016;
public static int common_google_play_services_notification_ticker = 0x7f060017;
public static int common_google_play_services_unknown_issue = 0x7f060018;
public static int common_google_play_services_unsupported_text = 0x7f060019;
public static int common_google_play_services_update_button = 0x7f06001a;
public static int common_google_play_services_update_text = 0x7f06001b;
public static int common_google_play_services_update_title = 0x7f06001c;
public static int common_google_play_services_updating_text = 0x7f06001d;
public static int common_google_play_services_wear_update_text = 0x7f06001e;
public static int common_open_on_phone = 0x7f06001f;
public static int common_signin_button_text = 0x7f060020;
public static int common_signin_button_text_long = 0x7f060021;
}
public static final class style {
}
public static final class styleable {
public static int[] LoadingImageView = { 0x7f01004b, 0x7f01004c, 0x7f01004d };
public static int LoadingImageView_circleCrop = 2;
public static int LoadingImageView_imageAspectRatio = 1;
public static int LoadingImageView_imageAspectRatioAdjust = 0;
public static int[] SignInButton = { 0x7f010062, 0x7f010063, 0x7f010064 };
public static int SignInButton_buttonSize = 0;
public static int SignInButton_colorScheme = 1;
public static int SignInButton_scopeUris = 2;
}
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package org.webkit.android_jsc;
public final class R {
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.facebook.drawee;
public final class R {
public static final class attr {
public static int actualImageResource = 0x7f010066;
public static int actualImageScaleType = 0x7f01003a;
public static int actualImageUri = 0x7f010065;
public static int backgroundImage = 0x7f01003b;
public static int fadeDuration = 0x7f01002f;
public static int failureImage = 0x7f010035;
public static int failureImageScaleType = 0x7f010036;
public static int overlayImage = 0x7f01003c;
public static int placeholderImage = 0x7f010031;
public static int placeholderImageScaleType = 0x7f010032;
public static int pressedStateOverlayImage = 0x7f01003d;
public static int progressBarAutoRotateInterval = 0x7f010039;
public static int progressBarImage = 0x7f010037;
public static int progressBarImageScaleType = 0x7f010038;
public static int retryImage = 0x7f010033;
public static int retryImageScaleType = 0x7f010034;
public static int roundAsCircle = 0x7f01003e;
public static int roundBottomLeft = 0x7f010043;
public static int roundBottomRight = 0x7f010042;
public static int roundTopLeft = 0x7f010040;
public static int roundTopRight = 0x7f010041;
public static int roundWithOverlayColor = 0x7f010044;
public static int roundedCornerRadius = 0x7f01003f;
public static int roundingBorderColor = 0x7f010046;
public static int roundingBorderPadding = 0x7f010047;
public static int roundingBorderWidth = 0x7f010045;
public static int viewAspectRatio = 0x7f010030;
}
public static final class id {
public static int center = 0x7f0c001a;
public static int centerCrop = 0x7f0c001b;
public static int centerInside = 0x7f0c001c;
public static int fitCenter = 0x7f0c001d;
public static int fitEnd = 0x7f0c001e;
public static int fitStart = 0x7f0c001f;
public static int fitXY = 0x7f0c0020;
public static int focusCrop = 0x7f0c0021;
public static int none = 0x7f0c0010;
}
public static final class styleable {
public static int[] GenericDraweeHierarchy = { 0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b, 0x7f01003c, 0x7f01003d, 0x7f01003e, 0x7f01003f, 0x7f010040, 0x7f010041, 0x7f010042, 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047 };
public static int GenericDraweeHierarchy_actualImageScaleType = 11;
public static int GenericDraweeHierarchy_backgroundImage = 12;
public static int GenericDraweeHierarchy_fadeDuration = 0;
public static int GenericDraweeHierarchy_failureImage = 6;
public static int GenericDraweeHierarchy_failureImageScaleType = 7;
public static int GenericDraweeHierarchy_overlayImage = 13;
public static int GenericDraweeHierarchy_placeholderImage = 2;
public static int GenericDraweeHierarchy_placeholderImageScaleType = 3;
public static int GenericDraweeHierarchy_pressedStateOverlayImage = 14;
public static int GenericDraweeHierarchy_progressBarAutoRotateInterval = 10;
public static int GenericDraweeHierarchy_progressBarImage = 8;
public static int GenericDraweeHierarchy_progressBarImageScaleType = 9;
public static int GenericDraweeHierarchy_retryImage = 4;
public static int GenericDraweeHierarchy_retryImageScaleType = 5;
public static int GenericDraweeHierarchy_roundAsCircle = 15;
public static int GenericDraweeHierarchy_roundBottomLeft = 20;
public static int GenericDraweeHierarchy_roundBottomRight = 19;
public static int GenericDraweeHierarchy_roundTopLeft = 17;
public static int GenericDraweeHierarchy_roundTopRight = 18;
public static int GenericDraweeHierarchy_roundWithOverlayColor = 21;
public static int GenericDraweeHierarchy_roundedCornerRadius = 16;
public static int GenericDraweeHierarchy_roundingBorderColor = 23;
public static int GenericDraweeHierarchy_roundingBorderPadding = 24;
public static int GenericDraweeHierarchy_roundingBorderWidth = 22;
public static int GenericDraweeHierarchy_viewAspectRatio = 1;
public static int[] SimpleDraweeView = { 0x7f010065, 0x7f010066 };
public static int SimpleDraweeView_actualImageResource = 1;
public static int SimpleDraweeView_actualImageUri = 0;
}
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.facebook.soloader;
public final class R {
}
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package org.webkit.android_jsc;
public final class R {
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment