Merged with development

This commit is contained in:
Mustafa Buyukcelebi 2019-10-03 22:44:23 +03:00
commit 403ac5fee2
958 changed files with 20441 additions and 15143 deletions

4
.eslintrc.js Normal file
View File

@ -0,0 +1,4 @@
module.exports = {
root: true,
extends: '@react-native-community',
};

View File

@ -33,6 +33,7 @@
"react/prop-types": 0,
"import/no-named-default": "off",
"no-param-reassign": "off",
"no-case-declarations": "off"
"no-case-declarations": "off",
"no-cycle": "off"
}
}

View File

@ -11,13 +11,20 @@
; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
node_modules/react-native/Libraries/react-native/React.js
; Ignore polyfills
.*/Libraries/polyfills/.*
node_modules/react-native/Libraries/polyfills/.*
; Ignore metro
.*/node_modules/metro/.*
; These should not be required directly
; require from fbjs/lib instead: require('fbjs/lib/warning')
node_modules/warning/.*
; Flow doesn't support platforms
.*/Libraries/Utilities/HMRLoadingView.js
[untyped]
.*/node_modules/@react-native-community/cli/.*/.*
[include]
@ -31,6 +38,10 @@ emoji=true
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js
module.system=haste
module.system.haste.use_name_reducers=true
# get basename
@ -43,27 +54,46 @@ module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
module.system.haste.paths.blacklist=.*/__tests__/.*
module.system.haste.paths.blacklist=.*/__mocks__/.*
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/IntegrationTests/.*
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation.js
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
munge_underscores=true
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.native.js
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
sketchy-number=warn
untyped-type-import=warn
nonstrict-import=warn
deprecated-type=warn
unsafe-getters-setters=warn
inexact-spread=warn
unnecessary-invariant=warn
signature-verification-failure=warn
deprecated-utility=error
[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[version]
^0.92.0
^0.98.0

11
.gitignore vendored
View File

@ -13,14 +13,14 @@ build/
!default.mode2v3
*.perspectivev3
!default.perspectivev3
!xcuserdata
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
!*.xcuserstate
!project.xcworkspace
*.xcuserstate
project.xcworkspace
# Android/IntelliJ
#
@ -57,9 +57,12 @@ buck-out/
config.js
!src/screens/steem-connect/config.js
android/app/google-services.json
google-services.json
keystore/
.env
package-lock.json
my-release-key.keystore
gradle.properties
# CocoaPods
/ios/Pods/

6
.prettierrc.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
bracketSpacing: false,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
};

14
__tests__/App-test.js Normal file
View File

@ -0,0 +1,14 @@
/**
* @format
*/
import 'react-native';
import React from 'react';
import App from '../App';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
renderer.create(<App />);
});

View File

@ -35,12 +35,12 @@ android_library(
android_build_config(
name = "build_config",
package = "app.esteem.mobile.android",
package = "com.esteem",
)
android_resource(
name = "res",
package = "app.esteem.mobile.android",
package = "com.esteem",
res = "src/main/res",
)

View File

@ -20,6 +20,9 @@ import com.android.build.OutputFile
* // the entry file for bundle generation
* entryFile: "index.android.js",
*
* // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format
* bundleCommand: "ram-bundle",
*
* // whether to bundle JS and assets in debug mode
* bundleInDebug: false,
*
@ -75,8 +78,8 @@ import com.android.build.OutputFile
*/
project.ext.react = [
bundleCommand: "ram-bundle",
entryFile: "index.js"
entryFile: "index.js",
enableHermes: false, // clean and rebuild if changing
]
apply from: "../../node_modules/react-native/react.gradle"
@ -97,9 +100,31 @@ def enableSeparateBuildPerCPUArchitecture = false
*/
def enableProguardInReleaseBuilds = false
/**
* The preferred build flavor of JavaScriptCore.
*
* For example, to use the international variant, you can use:
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
*
* The international variant includes ICU i18n library and necessary data
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
* give correct results when using with locales other than en-US. Note that
* this variant is about 6MiB larger per architecture than default.
*/
def jscFlavor = 'org.webkit:android-jsc:+'
/**
* Whether to enable the Hermes VM.
*
* This should be set on project.ext.react and mirrored here. If it is not set
* on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
* and the benefits of using Hermes will therefore be sharply reduced.
*/
def enableHermes = project.ext.react.get("enableHermes", false);
android {
compileSdkVersion rootProject.ext.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
@ -114,9 +139,10 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode versionMajor * 10000 + versionMinor * 100 + versionPatch
versionName "2.2.0"
vectorDrawables.useSupportLibrary = true
versionName "2.2.2"
resValue "string", "build_config_package", "app.esteem.mobile.android"
// react-native-image-crop-picker
vectorDrawables.useSupportLibrary = true
}
splits {
abi {
@ -126,8 +152,22 @@ android {
include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
}
signingConfigs {
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
// Caution! In production, you need to generate your own keystore file.
// see https://facebook.github.io/react-native/docs/signed-apk-android.
signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
@ -136,47 +176,39 @@ android {
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3, "x86_64": 4]
// https://developer.android.com/studio/build/configure-apk-splits.html
def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
}
}
}
}
configurations.all {
resolutionStrategy {
force 'org.webkit:android-jsc:r236355'
packagingOptions {
pickFirst '**/armeabi-v7a/libc++_shared.so'
pickFirst '**/x86/libc++_shared.so'
pickFirst '**/arm64-v8a/libc++_shared.so'
pickFirst '**/x86_64/libc++_shared.so'
pickFirst '**/x86/libjsc.so'
pickFirst '**/armeabi-v7a/libjsc.so'
}
}
dependencies {
implementation project(':react-native-svg')
implementation project(':@react-native-community_netinfo')
implementation project(':react-native-image-crop-picker')
implementation project(':react-native-fast-image')
implementation project(':react-native-iap')
implementation project(':react-native-navigation-bar-color')
implementation project(':bugsnag-react-native')
implementation project(':react-native-version-number')
implementation project(':react-native-code-push')
implementation project(':realm')
implementation project(':appcenter-push')
implementation project(':react-native-view-overflow')
implementation project(':react-native-vector-icons')
implementation project(':react-native-linear-gradient')
implementation project(':react-native-config')
implementation project(':appcenter-crashes')
implementation project(':appcenter-analytics')
implementation project(':appcenter')
implementation 'com.microsoft.appcenter:appcenter-push:1.11.2'
implementation 'com.facebook.fresco:animated-gif:1.10.0'
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
implementation "com.facebook.react:react-native:+" // From node_modules
implementation project(':react-native-code-push')
if (enableHermes) {
def hermesPath = "../../node_modules/hermesvm/android/";
debugImplementation files(hermesPath + "hermes-debug.aar")
releaseImplementation files(hermesPath + "hermes-release.aar")
} else {
implementation jscFlavor
}
}
// Run this once to be able to run the application with BUCK
@ -186,5 +218,4 @@ task copyDownloadableDepsToLibs(type: Copy) {
into 'libs'
}
// Add to the bottom of the file
apply plugin: 'com.google.gms.google-services'
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

View File

@ -16,4 +16,4 @@ def create_jar_targets(jarfiles):
prebuilt_jar(
name = name,
binary_jar = jarfile,
)
)

View File

@ -8,10 +8,3 @@
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

View File

@ -5,4 +5,4 @@
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<application android:usesCleartextTraffic="true" tools:targetApi="28" tools:ignore="GoogleAppIndexingWarning" />
</manifest>
</manifest>

View File

@ -1,11 +1,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="app.esteem.mobile.android">
package="app.esteem.mobile.android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="com.android.vending.BILLING" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.front" android:required="false" />
<application
android:name=".MainApplication"
android:label="@string/app_name"

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,43 +1,22 @@
package app.esteem.mobile.android;
import android.app.Application;
import android.util.Log;
import com.facebook.react.PackageList;
import com.facebook.hermes.reactexecutor.HermesExecutorFactory;
import com.facebook.react.bridge.JavaScriptExecutorFactory;
import com.facebook.react.ReactApplication;
import com.horcrux.svg.SvgPackage;
import com.reactnativecommunity.netinfo.NetInfoPackage;
import com.reactnative.ivpusic.imagepicker.PickerPackage;
import com.dylanvann.fastimage.FastImageViewPackage;
import com.dooboolab.RNIap.RNIapPackage;
import com.thebylito.navigationbarcolor.NavigationBarColorPackage;
import com.bugsnag.BugsnagReactNative;
import com.apsl.versionnumber.RNVersionNumberPackage;
import com.microsoft.codepush.react.CodePush;
import io.realm.react.RealmReactPackage;
import com.microsoft.appcenter.reactnative.push.AppCenterReactNativePushPackage;
import com.entria.views.RNViewOverflowPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.BV.LinearGradient.LinearGradientPackage;
import com.lugg.ReactNativeConfig.ReactNativeConfigPackage;
import com.microsoft.appcenter.reactnative.crashes.AppCenterReactNativeCrashesPackage;
import com.microsoft.appcenter.reactnative.analytics.AppCenterReactNativeAnalyticsPackage;
import com.microsoft.appcenter.reactnative.appcenter.AppCenterReactNativePackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;
import com.microsoft.codepush.react.CodePush;
import java.util.Arrays;
import java.util.List;
public class MainApplication extends Application implements ReactApplication {
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
@Override
protected String getJSBundleFile() {
return CodePush.getJSBundleFile();
}
@Override
public boolean getUseDeveloperSupport() {
return BuildConfig.DEBUG;
@ -45,27 +24,12 @@ public class MainApplication extends Application implements ReactApplication {
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new SvgPackage(),
new NetInfoPackage(),
new PickerPackage(),
new FastImageViewPackage(),
new RNIapPackage(),
new NavigationBarColorPackage(),
BugsnagReactNative.getPackage(),
new RNVersionNumberPackage(),
new CodePush(getResources().getString(R.string.reactNativeCodePush_androidDeploymentKey), getApplicationContext(), BuildConfig.DEBUG),
new RealmReactPackage(),
new AppCenterReactNativePushPackage(MainApplication.this),
new RNViewOverflowPackage(),
new VectorIconsPackage(),
new LinearGradientPackage(),
new ReactNativeConfigPackage(),
new AppCenterReactNativeCrashesPackage(MainApplication.this, getResources().getString(R.string.appCenterCrashes_whenToSendCrashes)),
new AppCenterReactNativeAnalyticsPackage(MainApplication.this, getResources().getString(R.string.appCenterAnalytics_whenToEnableAnalytics)),
new AppCenterReactNativePackage(MainApplication.this)
);
@SuppressWarnings("UnnecessaryLocalVariable")
List<ReactPackage> packages = new PackageList(this).getPackages();
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(new MyReactNativePackage());
packages.add(new CodePush("hvFLmwFbA1yko829EQO_apTfdlCKSybps-jnWV", MainApplication.this, BuildConfig.DEBUG));
return packages;
}
@Override

View File

@ -25,30 +25,32 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
// Add this line
classpath('com.android.tools.build:gradle:3.5.0')
classpath 'com.google.gms:google-services:4.0.2'
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:4.+'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:4.+'
}
}
allprojects {
repositories {
mavenLocal()
google()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
// react-native-image-crop-picker
maven { url 'https://maven.google.com' }
maven { url "https://jitpack.io" }
maven {
// Local Maven repo containing AARs with JSC library built for Android
url "$rootDir/../node_modules/jsc-android/dist"
}
google()
jcenter()
}
}

View File

@ -16,5 +16,6 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.useAndroidX=true
android.enableJetifier=true
android.useAndroidX=true

Binary file not shown.

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip

18
android/gradlew vendored
View File

@ -1,5 +1,21 @@
#!/usr/bin/env sh
#
# Copyright 2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################
##
## Gradle start up script for UN*X
@ -28,7 +44,7 @@ APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"

18
android/gradlew.bat vendored
View File

@ -1,3 +1,19 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@ -14,7 +30,7 @@ set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

View File

@ -1,8 +0,0 @@
keystore(
name = "debug",
properties = "debug.keystore.properties",
store = "debug.keystore",
visibility = [
"PUBLIC",
],
)

View File

@ -1,4 +0,0 @@
key.store=debug.keystore
key.alias=androiddebugkey
key.store.password=android
key.alias.password=android

View File

@ -1,5 +0,0 @@
defaults.url=https://sentry.io/
defaults.org=esteem-app
defaults.project=esteem
auth.token=d844aae1e578403ea305ab000dc0d38099fecc0ffb0f44679f02e05b75f40ab7
cli.executable=node_modules/@sentry/cli/bin/sentry-cli

View File

@ -1,39 +1,5 @@
rootProject.name = 'eSteem'
include ':react-native-svg'
project(':react-native-svg').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-svg/android')
include ':@react-native-community_netinfo'
project(':@react-native-community_netinfo').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/netinfo/android')
include ':react-native-image-crop-picker'
project(':react-native-image-crop-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-crop-picker/android')
include ':react-native-fast-image'
project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fast-image/android')
include ':react-native-iap'
project(':react-native-iap').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-iap/android')
include ':react-native-navigation-bar-color'
project(':react-native-navigation-bar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation-bar-color/android')
include ':bugsnag-react-native'
project(':bugsnag-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/bugsnag-react-native/android')
include ':react-native-version-number'
project(':react-native-version-number').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-version-number/android')
include ':react-native-code-push'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app', ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
include ':realm'
project(':realm').projectDir = new File(rootProject.projectDir, '../node_modules/realm/android')
include ':appcenter-push'
project(':appcenter-push').projectDir = new File(rootProject.projectDir, '../node_modules/appcenter-push/android')
include ':react-native-view-overflow'
project(':react-native-view-overflow').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-view-overflow/android')
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
include ':react-native-linear-gradient'
project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android')
include ':react-native-config'
project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/android')
include ':appcenter-crashes'
project(':appcenter-crashes').projectDir = new File(rootProject.projectDir, '../node_modules/appcenter-crashes/android')
include ':appcenter-analytics'
project(':appcenter-analytics').projectDir = new File(rootProject.projectDir, '../node_modules/appcenter-analytics/android')
include ':appcenter'
project(':appcenter').projectDir = new File(rootProject.projectDir, '../node_modules/appcenter/android')
include ':app'

View File

@ -1,4 +1,4 @@
{
"name": "eSteem",
"displayName": "eSteem"
}
}

98
ios/Podfile Executable file → Normal file
View File

@ -1,82 +1,41 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
platform :ios, '9.0'
target 'eSteem' do
pod 'AppCenter/Push', '~> 2.2.0'
pod 'AppCenter/Crashes', '~> 2.2.0'
pod 'AppCenter/Analytics', '~> 2.2.0'
pod 'AppCenterReactNativeShared', '~> 2.2.0'
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
target 'eSteem' do
# Pods for eSteem
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge', # Include this for RN >= 0.47
"RCTActionSheet",
"RCTAnimation",
"RCTCameraRoll",
"RCTWebSocket",
"DevSupport",
'RCTText',
'RCTNetwork',
'RCTImage',
]
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/React'
pod 'React-DevSupport', :path => '../node_modules/react-native/React'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
# Third party deps podspec link
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'CodePush', :path => '../node_modules/react-native-code-push'
pod 'react-native-version-number', :path => '../node_modules/react-native-version-number'
pod 'BugsnagReactNative', :path => '../node_modules/bugsnag-react-native'
pod 'RNImageCropPicker', :path => '../node_modules/react-native-image-crop-picker'
pod 'react-native-netinfo', :path => '../node_modules/@react-native-community/netinfo'
pod 'RNIap', :path => '../node_modules/react-native-iap'
pod 'react-native-fast-image', :path => '../node_modules/react-native-fast-image'
pod 'RNSVG', :path => '../node_modules/react-native-svg'
target 'eSteemTests' do
inherit! :search_paths
# Pods for testing
end
use_native_modules!
end
post_install do |installer|
installer.pods_project.targets.each do |target|
# The following is needed to ensure the "archive" step works in XCode.
# It removes React & Yoga from the Pods project, as it is already included in the main project.
# Without this, you'd see errors when you archive like:
# "Multiple commands produce ... libReact.a"
# "Multiple commands produce ... libyoga.a"
targets_to_ignore = %w(React yoga)
if targets_to_ignore.include? target.name
target.remove_from_project
end
if target.name == "React"
target.remove_from_project
end
end
end
target 'eSteem-tvOS' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for eSteem-tvOS
target 'eSteem-tvOSTests' do
@ -85,3 +44,18 @@ target 'eSteem-tvOS' do
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'react-native-config'
phase = target.project.new(Xcodeproj::Project::Object::PBXShellScriptBuildPhase)
phase.shell_script = "cd ../../"\
" && RNC_ROOT=./node_modules/react-native-config/"\
" && export SYMROOT=$RNC_ROOT/ios/ReactNativeConfig"\
" && ruby $RNC_ROOT/ios/ReactNativeConfig/BuildDotenvConfig.ruby"
target.build_phases << phase
target.build_phases.move(phase,0)
end
end
end

View File

@ -1,18 +1,35 @@
PODS:
- AppCenter/Analytics (2.2.0):
- AppCenter/Core
- AppCenter/Core (2.2.0)
- AppCenter/Crashes (2.2.0):
- AppCenter/Core
- AppCenter/Push (2.2.0):
- AppCenter/Core
- AppCenterReactNativeShared (2.2.0):
- AppCenter/Core (= 2.2.0)
- boost-for-react-native (1.63.0)
- BugsnagReactNative (2.21.0):
- BugsnagReactNative/Core (= 2.21.0)
- appcenter (2.3.0):
- AppCenterReactNativeShared
- React
- BugsnagReactNative/Core (2.21.0):
- appcenter-analytics (2.3.0):
- AppCenter/Analytics
- AppCenterReactNativeShared
- React
- appcenter-crashes (2.3.0):
- AppCenter/Crashes (= 2.3.0)
- AppCenterReactNativeShared
- React
- appcenter-push (2.3.0):
- AppCenter/Push
- AppCenterReactNativeShared
- React
- AppCenter/Analytics (2.3.0):
- AppCenter/Core
- AppCenter/Core (2.3.0)
- AppCenter/Crashes (2.3.0):
- AppCenter/Core
- AppCenter/Push (2.3.0):
- AppCenter/Core
- AppCenterReactNativeShared (2.3.0):
- AppCenter/Core (= 2.3.0)
- boost-for-react-native (1.63.0)
- BugsnagReactNative (2.23.2):
- BugsnagReactNative/Core (= 2.23.2)
- React
- BugsnagReactNative/Core (2.23.2):
- React
- BVLinearGradient (2.5.6):
- React
- CodePush (1000.0.0):
- CodePush/Base64 (= 1000.0.0)
@ -31,111 +48,149 @@ PODS:
- DoubleConversion (1.1.6)
- FLAnimatedImage (1.0.12)
- Folly (2018.10.22.00):
- boost-for-react-native
- DoubleConversion
- Folly/Default (= 2018.10.22.00)
- glog
- Folly/Default (2018.10.22.00):
- boost-for-react-native
- DoubleConversion
- glog
- glog (0.3.5)
- QBImagePickerController (3.4.0)
- React (0.59.8):
- React/Core (= 0.59.8)
- React (0.60.5):
- React-Core (= 0.60.5)
- React-DevSupport (= 0.60.5)
- React-RCTActionSheet (= 0.60.5)
- React-RCTAnimation (= 0.60.5)
- React-RCTBlob (= 0.60.5)
- React-RCTImage (= 0.60.5)
- React-RCTLinking (= 0.60.5)
- React-RCTNetwork (= 0.60.5)
- React-RCTSettings (= 0.60.5)
- React-RCTText (= 0.60.5)
- React-RCTVibration (= 0.60.5)
- React-RCTWebSocket (= 0.60.5)
- React-Core (0.60.5):
- Folly (= 2018.10.22.00)
- React-cxxreact (= 0.60.5)
- React-jsiexecutor (= 0.60.5)
- yoga (= 0.60.5.React)
- React-cxxreact (0.60.5):
- boost-for-react-native (= 1.63.0)
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React-jsinspector (= 0.60.5)
- React-DevSupport (0.60.5):
- React-Core (= 0.60.5)
- React-RCTWebSocket (= 0.60.5)
- React-jsi (0.60.5):
- boost-for-react-native (= 1.63.0)
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React-jsi/Default (= 0.60.5)
- React-jsi/Default (0.60.5):
- boost-for-react-native (= 1.63.0)
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React-jsiexecutor (0.60.5):
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React-cxxreact (= 0.60.5)
- React-jsi (= 0.60.5)
- React-jsinspector (0.60.5)
- react-native-fast-image (4.0.14):
- FLAnimatedImage
- React
- SDWebImage/Core
- SDWebImage/GIF
- react-native-netinfo (4.1.3):
- react-native-netinfo (4.3.0):
- React
- react-native-version-number (0.3.6):
- React
- React/Core (0.59.8):
- yoga (= 0.59.8.React)
- React/CxxBridge (0.59.8):
- Folly (= 2018.10.22.00)
- React/Core
- React/cxxreact
- React/jsiexecutor
- React/cxxreact (0.59.8):
- boost-for-react-native (= 1.63.0)
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React/jsinspector
- React/DevSupport (0.59.8):
- React/Core
- React/RCTWebSocket
- React/fishhook (0.59.8)
- React/jsi (0.59.8):
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React/jsiexecutor (0.59.8):
- DoubleConversion
- Folly (= 2018.10.22.00)
- glog
- React/cxxreact
- React/jsi
- React/jsinspector (0.59.8)
- React/RCTActionSheet (0.59.8):
- React/Core
- React/RCTAnimation (0.59.8):
- React/Core
- React/RCTBlob (0.59.8):
- React/Core
- React/RCTCameraRoll (0.59.8):
- React/Core
- React/RCTImage
- React/RCTImage (0.59.8):
- React/Core
- React/RCTNetwork
- React/RCTNetwork (0.59.8):
- React/Core
- React/RCTText (0.59.8):
- React/Core
- React/RCTWebSocket (0.59.8):
- React/Core
- React/fishhook
- React/RCTBlob
- RNIap (3.3.8):
- react-native-webview (7.4.0):
- React
- RNImageCropPicker (0.24.1):
- React-RCTActionSheet (0.60.5):
- React-Core (= 0.60.5)
- React-RCTAnimation (0.60.5):
- React-Core (= 0.60.5)
- React-RCTBlob (0.60.5):
- React-Core (= 0.60.5)
- React-RCTNetwork (= 0.60.5)
- React-RCTWebSocket (= 0.60.5)
- React-RCTImage (0.60.5):
- React-Core (= 0.60.5)
- React-RCTNetwork (= 0.60.5)
- React-RCTLinking (0.60.5):
- React-Core (= 0.60.5)
- React-RCTNetwork (0.60.5):
- React-Core (= 0.60.5)
- React-RCTSettings (0.60.5):
- React-Core (= 0.60.5)
- React-RCTText (0.60.5):
- React-Core (= 0.60.5)
- React-RCTVibration (0.60.5):
- React-Core (= 0.60.5)
- React-RCTWebSocket (0.60.5):
- React-Core (= 0.60.5)
- RNIap (3.5.8):
- React
- RNImageCropPicker (0.25.2):
- QBImagePickerController
- React/Core
- React-Core
- React-RCTImage
- RSKImageCropper
- RNSVG (9.6.2):
- React
- RSKImageCropper (2.2.1)
- SDWebImage/Core (4.4.6)
- SDWebImage/GIF (4.4.6):
- RNVectorIcons (6.6.0):
- React
- RSKImageCropper (2.2.3)
- SDWebImage/Core (4.4.7)
- SDWebImage/GIF (4.4.7):
- FLAnimatedImage (~> 1.0)
- SDWebImage/Core
- yoga (0.59.8.React)
- yoga (0.60.5.React)
DEPENDENCIES:
- AppCenter/Analytics (~> 2.2.0)
- AppCenter/Crashes (~> 2.2.0)
- AppCenter/Push (~> 2.2.0)
- AppCenterReactNativeShared (~> 2.2.0)
- appcenter (from `../node_modules/appcenter`)
- appcenter-analytics (from `../node_modules/appcenter-analytics`)
- appcenter-crashes (from `../node_modules/appcenter-crashes`)
- appcenter-push (from `../node_modules/appcenter-push`)
- BugsnagReactNative (from `../node_modules/bugsnag-react-native`)
- BVLinearGradient (from `../node_modules/react-native-linear-gradient`)
- CodePush (from `../node_modules/react-native-code-push`)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
- React (from `../node_modules/react-native/`)
- React-Core (from `../node_modules/react-native/React`)
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
- React-DevSupport (from `../node_modules/react-native/React`)
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- react-native-fast-image (from `../node_modules/react-native-fast-image`)
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-version-number (from `../node_modules/react-native-version-number`)
- React/Core (from `../node_modules/react-native`)
- React/CxxBridge (from `../node_modules/react-native`)
- React/DevSupport (from `../node_modules/react-native`)
- React/RCTActionSheet (from `../node_modules/react-native`)
- React/RCTAnimation (from `../node_modules/react-native`)
- React/RCTCameraRoll (from `../node_modules/react-native`)
- React/RCTImage (from `../node_modules/react-native`)
- React/RCTNetwork (from `../node_modules/react-native`)
- React/RCTText (from `../node_modules/react-native`)
- React/RCTWebSocket (from `../node_modules/react-native`)
- react-native-webview (from `../node_modules/react-native-webview`)
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
- React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
- React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
- React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
- React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
- React-RCTWebSocket (from `../node_modules/react-native/Libraries/WebSocket`)
- RNIap (from `../node_modules/react-native-iap`)
- RNImageCropPicker (from `../node_modules/react-native-image-crop-picker`)
- RNSVG (from `../node_modules/react-native-svg`)
- RNVectorIcons (from `../node_modules/react-native-vector-icons`)
- yoga (from `../node_modules/react-native/ReactCommon/yoga`)
SPEC REPOS:
@ -149,8 +204,18 @@ SPEC REPOS:
- SDWebImage
EXTERNAL SOURCES:
appcenter:
:path: "../node_modules/appcenter"
appcenter-analytics:
:path: "../node_modules/appcenter-analytics"
appcenter-crashes:
:path: "../node_modules/appcenter-crashes"
appcenter-push:
:path: "../node_modules/appcenter-push"
BugsnagReactNative:
:path: "../node_modules/bugsnag-react-native"
BVLinearGradient:
:path: "../node_modules/react-native-linear-gradient"
CodePush:
:path: "../node_modules/react-native-code-push"
DoubleConversion:
@ -160,44 +225,103 @@ EXTERNAL SOURCES:
glog:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
React:
:path: "../node_modules/react-native"
:path: "../node_modules/react-native/"
React-Core:
:path: "../node_modules/react-native/React"
React-cxxreact:
:path: "../node_modules/react-native/ReactCommon/cxxreact"
React-DevSupport:
:path: "../node_modules/react-native/React"
React-jsi:
:path: "../node_modules/react-native/ReactCommon/jsi"
React-jsiexecutor:
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-fast-image:
:path: "../node_modules/react-native-fast-image"
react-native-netinfo:
:path: "../node_modules/@react-native-community/netinfo"
react-native-version-number:
:path: "../node_modules/react-native-version-number"
react-native-webview:
:path: "../node_modules/react-native-webview"
React-RCTActionSheet:
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation:
:path: "../node_modules/react-native/Libraries/NativeAnimation"
React-RCTBlob:
:path: "../node_modules/react-native/Libraries/Blob"
React-RCTImage:
:path: "../node_modules/react-native/Libraries/Image"
React-RCTLinking:
:path: "../node_modules/react-native/Libraries/LinkingIOS"
React-RCTNetwork:
:path: "../node_modules/react-native/Libraries/Network"
React-RCTSettings:
:path: "../node_modules/react-native/Libraries/Settings"
React-RCTText:
:path: "../node_modules/react-native/Libraries/Text"
React-RCTVibration:
:path: "../node_modules/react-native/Libraries/Vibration"
React-RCTWebSocket:
:path: "../node_modules/react-native/Libraries/WebSocket"
RNIap:
:path: "../node_modules/react-native-iap"
RNImageCropPicker:
:path: "../node_modules/react-native-image-crop-picker"
RNSVG:
:path: "../node_modules/react-native-svg"
RNVectorIcons:
:path: "../node_modules/react-native-vector-icons"
yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS:
AppCenter: c809e69d93218b9861b4f8e54ded8dcf4d2131e7
AppCenterReactNativeShared: 5751a607a8aa06ebf19b48bf9d92bf3a75dab04e
AppCenter: 9784d2fc998c9bd0b8fbaf4fb9ed69526d12ce1a
appcenter: e55cb133b100379be61158f511082196b8022424
appcenter-analytics: 9db55feacae3ca037c310d31620760ae054d50c6
appcenter-crashes: 47c9257ce4c9a7625face00f77908e69fa459394
appcenter-push: 9c9408354d19580d433586a72de514b0c09329b2
AppCenterReactNativeShared: 7ac481cba7f926848a7be76dca4dcb2692df3b06
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
BugsnagReactNative: 9f273f292378a016977f578e4467cf84b7182b07
BugsnagReactNative: 0a24a1dd2cac88862d67b938f809bec8274130a9
BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872
CodePush: a503ca0caee269e68d8faaafe4414990ec282520
DoubleConversion: bb338842f62ab1d708ceb63ec3d999f0f3d98ecd
DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
FLAnimatedImage: 4a0b56255d9b05f18b6dd7ee06871be5d3b89e31
Folly: de497beb10f102453a1afa9edbf8cf8a251890de
glog: aefd1eb5dda2ab95ba0938556f34b98e2da3a60d
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
QBImagePickerController: d54cf93db6decf26baf6ed3472f336ef35cae022
React: 76e6aa2b87d05eb6cccb6926d72685c9a07df152
React: 53c53c4d99097af47cf60594b8706b4e3321e722
React-Core: ba421f6b4f4cbe2fb17c0b6fc675f87622e78a64
React-cxxreact: 8384287780c4999351ad9b6e7a149d9ed10a2395
React-DevSupport: 197fb409737cff2c4f9986e77c220d7452cb9f9f
React-jsi: 4d8c9efb6312a9725b18d6fc818ffc103f60fec2
React-jsiexecutor: 90ad2f9db09513fc763bc757fdc3c4ff8bde2a30
React-jsinspector: e08662d1bf5b129a3d556eb9ea343a3f40353ae4
react-native-fast-image: 6d50167ad4d68b59640ceead8c2bc4e58d91d8bd
react-native-netinfo: e2c8a843bb18ab6c3f1e6cbead694491b36e3ffd
react-native-netinfo: 09681d744eb8a3ca04cb0404fb8c2537f71d3e58
react-native-version-number: b415bbec6a13f2df62bf978e85bc0d699462f37f
RNIap: 63fbc0423584d18a1da1230c5711449d97a192ad
RNImageCropPicker: 6134b66a3d5bc13e2895a97c630a4254006902b4
react-native-webview: 7d04624efcf7ef5cf26df3a9194ff2c2af5a53c5
React-RCTActionSheet: b0f1ea83f4bf75fb966eae9bfc47b78c8d3efd90
React-RCTAnimation: 359ba1b5690b1e87cc173558a78e82d35919333e
React-RCTBlob: 5e2b55f76e9a1c7ae52b826923502ddc3238df24
React-RCTImage: f5f1c50922164e89bdda67bcd0153952a5cfe719
React-RCTLinking: d0ecbd791e9ddddc41fa1f66b0255de90e8ee1e9
React-RCTNetwork: e26946300b0ab7bb6c4a6348090e93fa21f33a9d
React-RCTSettings: d0d37cb521b7470c998595a44f05847777cc3f42
React-RCTText: b074d89033583d4f2eb5faf7ea2db3a13c7553a2
React-RCTVibration: 2105b2e0e2b66a6408fc69a46c8a7fb5b2fdade0
React-RCTWebSocket: cd932a16b7214898b6b7f788c8bddb3637246ac4
RNIap: 3730f7f44e1ad0aa13c2566b3d8b02dfd089e744
RNImageCropPicker: f675353bbe18f66113a39b319c0aeb36655a6e4c
RNSVG: ff9b094e39dd4a437ebe17d1c7ceed286e75f426
RSKImageCropper: 98296ad26b41753f796b6898d015509598f13d97
SDWebImage: 3f3f0c02f09798048c47a5ed0a13f17b063572d8
yoga: 92b2102c3d373d1a790db4ab761d2b0ffc634f64
RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
RSKImageCropper: a446db0e8444a036b34f3c43db01b2373baa4b2a
SDWebImage: c10d14a8883ebd89664f02a422006f66a85c0c5d
yoga: 312528f5bbbba37b4dcea5ef00e8b4033fdd9411
PODFILE CHECKSUM: 42412fa6c2fe453cf4b08de233b8ba2c6e757ad0
PODFILE CHECKSUM: f3c7c49b8130d7496b050b2bfdbca4e71193397d
COCOAPODS: 1.7.5

View File

@ -55,7 +55,7 @@
/*
* The offset in minutes from UTC for the device time zone, including daylight savings time.
*/
@property(nonatomic, readonly) NSNumber *timeZoneOffset;
@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset;
/*
* Screen size of the device in pixels (example: 640x480).

View File

@ -15,7 +15,7 @@
/**
* Log timestamp.
*/
@property(nonatomic) NSDate *timestamp;
@property(nonatomic, strong) NSDate *timestamp;
/**
* A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics
@ -36,13 +36,13 @@
/**
* Device properties associated to this log.
*/
@property(nonatomic) MSDevice *device;
@property(nonatomic, strong) MSDevice *device;
/**
* Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being
* applied retroactively to previous logs by comparing their tags.
*/
@property(nonatomic) NSObject *tag;
@property(nonatomic, strong) NSObject *tag;
/**
* Checks if the object's values are valid.

View File

@ -10,6 +10,6 @@
/**
* Additional key/value pair parameters. [optional]
*/
@property(nonatomic) NSDictionary<NSString *, NSString *> *properties;
@property(nonatomic, strong) NSDictionary<NSString *, NSString *> *properties;
@end

View File

@ -16,7 +16,7 @@
/**
* The flag indicates whether the service is started from application or not.
*/
@property(nonatomic) BOOL startedFromApplication;
@property(nonatomic, assign) BOOL startedFromApplication;
/**
* Start this service with a channel group. Also sets the flag that indicates that a service has been started.

View File

@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* The type.
*/
@property(nonatomic, readonly) MSAnalyticsAuthenticationType type;
@property(nonatomic, readonly, assign) MSAnalyticsAuthenticationType type;
/**
* The ticket key for this authentication provider.

View File

@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Property configurator.
*/
@property(nonatomic, readonly) MSPropertyConfigurator *propertyConfigurator;
@property(nonatomic, readonly, strong) MSPropertyConfigurator *propertyConfigurator;
+ (void)addAuthenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider
NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:));

View File

@ -16,6 +16,6 @@
/**
* Event properties.
*/
@property(nonatomic) MSEventProperties *typedProperties;
@property(nonatomic, strong) MSEventProperties *typedProperties;
@end

View File

@ -10,6 +10,6 @@
/**
* Additional key/value pair parameters. [optional]
*/
@property(nonatomic) NSDictionary<NSString *, NSString *> *properties;
@property(nonatomic, strong) NSDictionary<NSString *, NSString *> *properties;
@end

View File

@ -16,7 +16,7 @@
/**
* The flag indicates whether the service is started from application or not.
*/
@property(nonatomic) BOOL startedFromApplication;
@property(nonatomic, assign) BOOL startedFromApplication;
/**
* Start this service with a channel group. Also sets the flag that indicates that a service has been started.

View File

@ -89,6 +89,13 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) {
*/
+ (BOOL)hasCrashedInLastSession;
/**
* Check if the app received memory warning in the last session.
*
* @return Returns YES is the app received memory warning in the last session.
*/
+ (BOOL)hasReceivedMemoryWarningInLastSession;
/**
* Provides details about the crash that occurred in the last app session
*/

View File

@ -35,17 +35,17 @@
/**
* Date and time the app started, nil if unknown.
*/
@property(nonatomic, readonly) NSDate *appStartTime;
@property(nonatomic, readonly, strong) NSDate *appStartTime;
/**
* Date and time the error occurred, nil if unknown
*/
@property(nonatomic, readonly) NSDate *appErrorTime;
@property(nonatomic, readonly, strong) NSDate *appErrorTime;
/**
* Device information of the app when it crashed.
*/
@property(nonatomic, readonly) MSDevice *device;
@property(nonatomic, readonly, strong) MSDevice *device;
/**
* Identifier of the app process that crashed.

View File

@ -16,7 +16,7 @@
/**
* The flag indicates whether the service is started from application or not.
*/
@property(nonatomic) BOOL startedFromApplication;
@property(nonatomic, assign) BOOL startedFromApplication;
/**
* Start this service with a channel group. Also sets the flag that indicates that a service has been started.

View File

@ -16,7 +16,7 @@
/**
* The flag indicates whether the service is started from application or not.
*/
@property(nonatomic) BOOL startedFromApplication;
@property(nonatomic, assign) BOOL startedFromApplication;
/**
* Start this service with a channel group. Also sets the flag that indicates that a service has been started.

View File

@ -0,0 +1 @@
../../../../../node_modules/bugsnag-react-native/cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/BSG_KSCrashIdentifier.h

View File

@ -1 +0,0 @@
../../../../../node_modules/bugsnag-react-native/cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/Sentry/BSG_KSCrashSentry_Deadlock.h

View File

@ -1 +0,0 @@
../../../../../node_modules/bugsnag-react-native/cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/Tools/BSG_KSSafeCollections.h

View File

@ -1 +0,0 @@
../../../../../node_modules/bugsnag-react-native/cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/Tools/BSG_KSZombie.h

View File

@ -1 +0,0 @@
../../../../../node_modules/bugsnag-react-native/cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/Tools/NSDictionary+BSG_Merge.h

View File

@ -0,0 +1 @@
../../../../../node_modules/bugsnag-react-native/cocoa/vendor/bugsnag-cocoa/Source/Private.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/Common.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/FrameworkSupplement/JWT.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/Base/JWTAlgorithm.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/Holders/JWTAlgorithmDataHolder.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/Holders/JWTAlgorithmDataHolderChain.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/ESFamily/JWTAlgorithmESBase.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/Base/JWTAlgorithmFactory.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/HSFamily/JWTAlgorithmHSBase.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/Base/JWTAlgorithmNone.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/RSFamily/JWTAlgorithmRSBase.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Supplement/JWTBase64Coder.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/ClaimSet/JWTClaim.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/ClaimSet/JWTClaimsSet.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/ClaimSet/JWTClaimsSetSerializer.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/ClaimSet/JWTClaimsSetVerifier.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Coding/JWTCoding+ResultTypes.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Coding/JWTCoding+VersionOne.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Coding/JWTCoding+VersionThree.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Coding/JWTCoding+VersionTwo.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Coding/JWTCoding.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/RSFamily/RSKeys/JWTCryptoKey.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/RSFamily/RSKeys/JWTCryptoKeyExtractor.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/RSFamily/RSKeys/JWTCryptoSecurity.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Supplement/JWTDeprecations.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Supplement/JWTErrorDescription.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/JWT/Core/Algorithms/RSFamily/JWTRSAlgorithm.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/Base64/Base64/MF_Base64Additions.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/SSZipArchive.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/aes.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/aes_via_ace.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/aesopt.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/aestab.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/brg_endian.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/brg_types.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/minizip/crypt.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/entropy.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/fileenc.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/hmac.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/minizip/ioapi.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/minizip/mztools.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/prng.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/pwd2key.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/aes/sha1.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/minizip/unzip.h

View File

@ -1 +0,0 @@
../../../../../node_modules/react-native-code-push/ios/CodePush/SSZipArchive/minizip/zip.h

View File

@ -1 +0,0 @@
../../../DoubleConversion/double-conversion/bignum-dtoa.h

View File

@ -1 +0,0 @@
../../../DoubleConversion/double-conversion/bignum.h

View File

@ -1 +0,0 @@
../../../DoubleConversion/double-conversion/cached-powers.h

Some files were not shown because too many files have changed in this diff Show More