├── app.json ├── babel.config.js ├── android ├── app │ ├── debug.keystore │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── values │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── styles.xml │ │ │ │ └── drawable │ │ │ │ │ └── rn_edit_text_material.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── rnhaptik │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ ├── GlobalPackage.java │ │ │ │ │ ├── MyFirebaseMessagingService.java │ │ │ │ │ ├── GlobalManager.java │ │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ │ └── debug │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── com │ │ │ └── rnhaptik │ │ │ └── ReactNativeFlipper.java │ ├── proguard-rules.pro │ ├── build_defs.bzl │ ├── _BUCK │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── settings.gradle ├── gradle.properties ├── build.gradle ├── gradlew.bat └── gradlew ├── ios ├── RNHaptik │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── Info.plist │ ├── AppDelegate.m │ └── LaunchScreen.storyboard ├── GlobalManager.h ├── RNHaptik-Bridging-Header.h ├── RNHaptik.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── RNHaptikTests │ ├── Info.plist │ └── RNHaptikTests.m ├── Podfile ├── GlobalManager.m ├── RNHaptik.xcodeproj │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── RNHaptik.xcscheme │ └── project.pbxproj └── Podfile.lock ├── Gemfile ├── index.js ├── __tests__ └── App-test.js ├── metro.config.js ├── package.json ├── App.js └── Gemfile.lock /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RNHaptik", 3 | "displayName": "RNHaptik" 4 | } -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/debug.keystore -------------------------------------------------------------------------------- /ios/RNHaptik/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ios/GlobalManager.h: -------------------------------------------------------------------------------- 1 | // GlobalManager.h 2 | #import 3 | @interface GlobalManager : NSObject 4 | @end 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellohaptik/RNHaptik-Demo/main/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version 4 | ruby '2.7.4' 5 | 6 | gem 'cocoapods', '~> 1.11', '>= 1.11.2' 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'RNHaptik' 2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | include ':app' 4 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /ios/RNHaptik/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : UIResponder 5 | 6 | @property (nonatomic, strong) UIWindow *window; 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /ios/RNHaptik/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char * argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ios/RNHaptik-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | @import Foundation; 2 | @import UIKit; 3 | @import CoreLocation; 4 | @import AVFoundation; 5 | 6 | #import "React/RCTBridge.h" 7 | #import "React/RCTBridgeModule.h" 8 | #import "React/RCTBundleURLProvider.h" 9 | #import "React/RCTRootView.h" 10 | #import "AppDelegate.h" 11 | -------------------------------------------------------------------------------- /ios/RNHaptik.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/RNHaptik.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RNHaptik 3 | 4 | https://staging.hellohaptik.com/ 5 | b7ae8005124fdff9023c7a5fb8e85274eb209a06 6 | 5025 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: true, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnhaptik/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.rnhaptik; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. This is used to schedule 9 | * rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "RNHaptik"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /ios/RNHaptik/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rnhaptik", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "android": "react-native run-android", 7 | "ios": "react-native run-ios", 8 | "start": "react-native start", 9 | "test": "jest", 10 | "lint": "eslint ." 11 | }, 12 | "dependencies": { 13 | "react": "17.0.2", 14 | "react-native": "0.67.3" 15 | }, 16 | "devDependencies": { 17 | "@babel/core": "^7.12.9", 18 | "@babel/runtime": "^7.12.5", 19 | "@react-native-community/eslint-config": "^2.0.0", 20 | "babel-jest": "^26.6.3", 21 | "eslint": "7.14.0", 22 | "jest": "^26.6.3", 23 | "metro-react-native-babel-preset": "^0.66.2", 24 | "react-test-renderer": "17.0.2" 25 | }, 26 | "jest": { 27 | "preset": "react-native" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /ios/RNHaptikTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnhaptik/GlobalPackage.java: -------------------------------------------------------------------------------- 1 | package com.rnhaptik; 2 | 3 | import com.facebook.react.ReactPackage; 4 | import com.facebook.react.bridge.NativeModule; 5 | import com.facebook.react.bridge.ReactApplicationContext; 6 | import com.facebook.react.uimanager.ViewManager; 7 | 8 | import java.util.ArrayList; 9 | import java.util.Collections; 10 | import java.util.List; 11 | 12 | public class GlobalPackage implements ReactPackage { 13 | 14 | @Override 15 | public List createNativeModules(ReactApplicationContext reactContext) { 16 | List modules = new ArrayList<>(); 17 | 18 | modules.add(new com.rnhaptik.GlobalManager(reactContext)); 19 | 20 | return modules; 21 | } 22 | 23 | @Override 24 | public List createViewManagers(ReactApplicationContext reactContext) { 25 | return Collections.emptyList(); 26 | } 27 | } -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import { NativeModules, Text, TouchableOpacity, View } from 'react-native' 2 | import React, { PureComponent } from 'react' 3 | 4 | export default class App extends PureComponent { 5 | 6 | initHaptik = () => { 7 | NativeModules.GlobalManager.loadHaptikConversation(); 8 | } 9 | 10 | logoutHaptik = () => { 11 | NativeModules.GlobalManager.logoutHaptik(); 12 | } 13 | 14 | render() { 15 | return ( 16 | 17 | 18 | 19 | Click to Open Haptik 20 | 21 | 22 | 23 | 24 | Click to Logout Haptik 25 | 26 | 27 | 28 | ) 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnhaptik/MyFirebaseMessagingService.java: -------------------------------------------------------------------------------- 1 | package com.rnhaptik; 2 | 3 | import com.google.firebase.messaging.FirebaseMessagingService; 4 | import com.google.firebase.messaging.RemoteMessage; 5 | import java.util.Map; 6 | 7 | import ai.haptik.android.wrapper.sdk.HaptikSDK; 8 | 9 | public class MyFirebaseMessagingService extends FirebaseMessagingService { 10 | @Override 11 | public void onMessageReceived(RemoteMessage remoteMessage) { 12 | Map data = remoteMessage.getData(); 13 | if (HaptikSDK.INSTANCE.isHaptikNotification(data)) { 14 | HaptikSDK.INSTANCE.handleNotification( 15 | this, 16 | data, 17 | // Icon to show in notification 18 | R.mipmap.ic_launcher_round 19 | ); 20 | } 21 | } 22 | 23 | @Override 24 | public void onNewToken(String s) { 25 | super.onNewToken(s); 26 | HaptikSDK.INSTANCE.setNotificationToken(this, s); 27 | } 28 | } -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | plugin 'cocoapods-user-defined-build-types' 2 | enable_user_defined_build_types! 3 | 4 | require_relative '../node_modules/react-native/scripts/react_native_pods' 5 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' 6 | 7 | platform :ios, '11.0' 8 | 9 | target 'RNHaptik' do 10 | config = use_native_modules! 11 | pod 'HPWebKit', :build_type => :dynamic_framework 12 | use_react_native!( 13 | :path => config[:reactNativePath], 14 | # to enable hermes on iOS, change `false` to `true` and then install pods 15 | :hermes_enabled => false 16 | ) 17 | 18 | target 'RNHaptikTests' do 19 | inherit! :complete 20 | # Pods for testing 21 | end 22 | 23 | # Enables Flipper. 24 | # 25 | # Note that if you have use_frameworks! enabled, Flipper will not work and 26 | # you should disable the next line. 27 | use_flipper!() 28 | 29 | post_install do |installer| 30 | react_native_post_install(installer) 31 | __apply_Xcode_12_5_M1_post_install_workaround(installer) 32 | end 33 | end 34 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx1024m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | # AndroidX package structure to make it clearer which packages are bundled with the 21 | # Android operating system, and which are packaged with your app's APK 22 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 23 | android.useAndroidX=true 24 | # Automatically convert third-party libraries to use AndroidX 25 | android.enableJetifier=true 26 | 27 | # Version of flipper SDK to use with React Native 28 | FLIPPER_VERSION=0.99.0 29 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 27 | 28 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /android/app/_BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.rnhaptik", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.rnhaptik", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /ios/GlobalManager.m: -------------------------------------------------------------------------------- 1 | // 2 | // GlobalManager.m 3 | // RNHaptik 4 | // 5 | // Created by Rohit Ninawe on 17/03/22. 6 | // 7 | 8 | #import 9 | #import "GlobalManager.h" 10 | #import 11 | #import 12 | 13 | @implementation GlobalManager 14 | 15 | RCT_EXPORT_MODULE(); 16 | 17 | - (dispatch_queue_t)methodQueue 18 | { 19 | return dispatch_get_main_queue(); 20 | } 21 | 22 | RCT_EXPORT_METHOD(loadHaptikConversation){ 23 | 24 | UIViewController *rootViewController = [UIApplication sharedApplication].delegate.window.rootViewController; 25 | 26 | @try{ 27 | NSLog(@"---LOG Before HPKIT ---"); 28 | 29 | [HPKit.sharedSDK loadGuestConversationWithLaunchController:rootViewController customData:nil error:nil]; 30 | 31 | NSLog(@"---LOG After HPKIT ---"); 32 | 33 | UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"My Alert" 34 | message:@"This is an alert." 35 | preferredStyle:UIAlertControllerStyleAlert]; 36 | 37 | UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault 38 | handler:^(UIAlertAction * action) {}]; 39 | 40 | [alert addAction:defaultAction]; 41 | [rootViewController presentViewController:alert animated:YES completion:nil]; 42 | 43 | } @catch (NSException *exception) { 44 | NSLog(@"---LOG exception ---%@", exception); 45 | } 46 | 47 | }; 48 | 49 | RCT_EXPORT_METHOD(logoutHaptik){ 50 | [HPKit.sharedSDK clearConversation]; 51 | } 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "30.0.2" 6 | minSdkVersion = 21 7 | compileSdkVersion = 30 8 | targetSdkVersion = 30 9 | ndkVersion = "21.4.7075529" 10 | } 11 | repositories { 12 | google() 13 | mavenCentral() 14 | } 15 | dependencies { 16 | classpath("com.android.tools.build:gradle:4.2.2") 17 | // NOTE: Do not place your application dependencies here; they belong 18 | // in the individual module build.gradle files 19 | } 20 | } 21 | 22 | allprojects { 23 | repositories { 24 | maven { 25 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 26 | url("$rootDir/../node_modules/react-native/android") 27 | } 28 | maven { 29 | // Android JSC is installed from npm 30 | url("$rootDir/../node_modules/jsc-android/dist") 31 | } 32 | maven { //HaptikConfig 33 | url "https://artifactory.hellohaptik.com/artifactory/libs-release-local" 34 | credentials { 35 | username "demo" 36 | password "2EG@9MX>PPpetr%%" 37 | } 38 | } 39 | mavenCentral { 40 | // We don't want to fetch react-native from Maven Central as there are 41 | // older versions over there. 42 | content { 43 | excludeGroup "com.facebook.react" 44 | } 45 | } 46 | google() 47 | maven { url 'https://www.jitpack.io' } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnhaptik/GlobalManager.java: -------------------------------------------------------------------------------- 1 | package com.rnhaptik; 2 | import android.util.Log; 3 | import android.widget.Toast; 4 | 5 | import androidx.annotation.NonNull; 6 | 7 | import com.facebook.react.bridge.ReactApplicationContext; 8 | import com.facebook.react.bridge.ReactContext; 9 | import com.facebook.react.bridge.ReactContextBaseJavaModule; 10 | import com.facebook.react.bridge.ReactMethod; 11 | import com.facebook.react.bridge.ReadableMap; 12 | 13 | import ai.haptik.android.wrapper.sdk.HaptikSDK; 14 | import ai.haptik.android.wrapper.sdk.model.InitData; 15 | import ai.haptik.android.wrapper.sdk.model.SignupData; 16 | 17 | public class GlobalManager extends ReactContextBaseJavaModule { 18 | 19 | private final ReactContext reactContext; 20 | 21 | public GlobalManager(ReactApplicationContext reactContext) { 22 | super(reactContext); 23 | this.reactContext = reactContext; 24 | } 25 | 26 | @NonNull 27 | @Override 28 | public String getName() { 29 | return "GlobalManager"; 30 | } 31 | 32 | @ReactMethod 33 | public void loadHaptikConversation() { 34 | InitData initData = new InitData(); //HaptikConfig 35 | initData.setPrimaryColor("#D9243D"); //HaptikConfig 36 | HaptikSDK.INSTANCE.init(reactContext, initData); //HaptikConfig 37 | HaptikSDK.INSTANCE.loadGuestConversation(); 38 | } 39 | 40 | @ReactMethod 41 | public void logoutHaptik(){ 42 | HaptikSDK.INSTANCE.destroy(); 43 | CharSequence text = "HaptikSDK destroyed!"; 44 | int duration = Toast.LENGTH_SHORT; 45 | 46 | Toast toast = Toast.makeText(reactContext, text, duration); 47 | toast.show(); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /ios/RNHaptikTests/RNHaptikTests.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | #import 5 | #import 6 | 7 | #define TIMEOUT_SECONDS 600 8 | #define TEXT_TO_LOOK_FOR @"Welcome to React" 9 | 10 | @interface RNHaptikTests : XCTestCase 11 | 12 | @end 13 | 14 | @implementation RNHaptikTests 15 | 16 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 17 | { 18 | if (test(view)) { 19 | return YES; 20 | } 21 | for (UIView *subview in [view subviews]) { 22 | if ([self findSubviewInView:subview matching:test]) { 23 | return YES; 24 | } 25 | } 26 | return NO; 27 | } 28 | 29 | - (void)testRendersWelcomeScreen 30 | { 31 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 32 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 33 | BOOL foundElement = NO; 34 | 35 | __block NSString *redboxError = nil; 36 | #ifdef DEBUG 37 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 38 | if (level >= RCTLogLevelError) { 39 | redboxError = message; 40 | } 41 | }); 42 | #endif 43 | 44 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 45 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 46 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 47 | 48 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 49 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 50 | return YES; 51 | } 52 | return NO; 53 | }]; 54 | } 55 | 56 | #ifdef DEBUG 57 | RCTSetLogFunction(RCTDefaultLogFunction); 58 | #endif 59 | 60 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 61 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 62 | } 63 | 64 | 65 | @end 66 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/rn_edit_text_material.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 21 | 22 | 23 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ios/RNHaptik/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | RNHaptik 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSExceptionDomains 30 | 31 | localhost 32 | 33 | NSExceptionAllowsInsecureHTTPLoads 34 | 35 | 36 | 37 | 38 | LSApplicationQueriesSchemes 39 | 40 | whatsapp 41 | 42 | HaptikLib 43 | 44 | baseUrl 45 | HAPTIK-BASE-URL 46 | businessID 47 | HAPTIK_BUSINESS_ID 48 | clientID 49 | HAPTIK_CLIENT_ID 50 | runEnvironment 51 | 1 52 | 53 | NSLocationWhenInUseUsageDescription 54 | 55 | UILaunchStoryboardName 56 | LaunchScreen 57 | UIRequiredDeviceCapabilities 58 | 59 | armv7 60 | 61 | UISupportedInterfaceOrientations 62 | 63 | UIInterfaceOrientationPortrait 64 | UIInterfaceOrientationLandscapeLeft 65 | UIInterfaceOrientationLandscapeRight 66 | 67 | UIViewControllerBasedStatusBarAppearance 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /ios/RNHaptik/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | 3 | #import 4 | #import 5 | #import 6 | 7 | #import 8 | 9 | #ifdef FB_SONARKIT_ENABLED 10 | #import 11 | #import 12 | #import 13 | #import 14 | #import 15 | #import 16 | 17 | static void InitializeFlipper(UIApplication *application) { 18 | FlipperClient *client = [FlipperClient sharedClient]; 19 | SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults]; 20 | [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]]; 21 | [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]]; 22 | [client addPlugin:[FlipperKitReactPlugin new]]; 23 | [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]]; 24 | [client start]; 25 | } 26 | #endif 27 | 28 | @implementation AppDelegate 29 | 30 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 31 | { 32 | #ifdef FB_SONARKIT_ENABLED 33 | InitializeFlipper(application); 34 | #endif 35 | 36 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 37 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 38 | moduleName:@"RNHaptik" 39 | initialProperties:nil]; 40 | 41 | if (@available(iOS 13.0, *)) { 42 | rootView.backgroundColor = [UIColor systemBackgroundColor]; 43 | } else { 44 | rootView.backgroundColor = [UIColor whiteColor]; 45 | } 46 | 47 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 48 | UIViewController *rootViewController = [UIViewController new]; 49 | rootViewController.view = rootView; 50 | self.window.rootViewController = rootViewController; 51 | [self.window makeKeyAndVisible]; 52 | [HPKit.sharedSDK setup]; 53 | return YES; 54 | } 55 | 56 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 57 | { 58 | #if DEBUG 59 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 60 | #else 61 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 62 | #endif 63 | } 64 | 65 | @end 66 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | CFPropertyList (3.0.5) 5 | rexml 6 | activesupport (6.1.4.6) 7 | concurrent-ruby (~> 1.0, >= 1.0.2) 8 | i18n (>= 1.6, < 2) 9 | minitest (>= 5.1) 10 | tzinfo (~> 2.0) 11 | zeitwerk (~> 2.3) 12 | addressable (2.8.0) 13 | public_suffix (>= 2.0.2, < 5.0) 14 | algoliasearch (1.27.5) 15 | httpclient (~> 2.8, >= 2.8.3) 16 | json (>= 1.5.1) 17 | atomos (0.1.3) 18 | claide (1.1.0) 19 | cocoapods (1.11.2) 20 | addressable (~> 2.8) 21 | claide (>= 1.0.2, < 2.0) 22 | cocoapods-core (= 1.11.2) 23 | cocoapods-deintegrate (>= 1.0.3, < 2.0) 24 | cocoapods-downloader (>= 1.4.0, < 2.0) 25 | cocoapods-plugins (>= 1.0.0, < 2.0) 26 | cocoapods-search (>= 1.0.0, < 2.0) 27 | cocoapods-trunk (>= 1.4.0, < 2.0) 28 | cocoapods-try (>= 1.1.0, < 2.0) 29 | colored2 (~> 3.1) 30 | escape (~> 0.0.4) 31 | fourflusher (>= 2.3.0, < 3.0) 32 | gh_inspector (~> 1.0) 33 | molinillo (~> 0.8.0) 34 | nap (~> 1.0) 35 | ruby-macho (>= 1.0, < 3.0) 36 | xcodeproj (>= 1.21.0, < 2.0) 37 | cocoapods-core (1.11.2) 38 | activesupport (>= 5.0, < 7) 39 | addressable (~> 2.8) 40 | algoliasearch (~> 1.0) 41 | concurrent-ruby (~> 1.1) 42 | fuzzy_match (~> 2.0.4) 43 | nap (~> 1.0) 44 | netrc (~> 0.11) 45 | public_suffix (~> 4.0) 46 | typhoeus (~> 1.0) 47 | cocoapods-deintegrate (1.0.5) 48 | cocoapods-downloader (1.5.1) 49 | cocoapods-plugins (1.0.0) 50 | nap 51 | cocoapods-search (1.0.1) 52 | cocoapods-trunk (1.6.0) 53 | nap (>= 0.8, < 2.0) 54 | netrc (~> 0.11) 55 | cocoapods-try (1.2.0) 56 | colored2 (3.1.2) 57 | concurrent-ruby (1.1.9) 58 | escape (0.0.4) 59 | ethon (0.15.0) 60 | ffi (>= 1.15.0) 61 | ffi (1.15.5) 62 | fourflusher (2.3.1) 63 | fuzzy_match (2.0.4) 64 | gh_inspector (1.1.3) 65 | httpclient (2.8.3) 66 | i18n (1.10.0) 67 | concurrent-ruby (~> 1.0) 68 | json (2.6.1) 69 | minitest (5.15.0) 70 | molinillo (0.8.0) 71 | nanaimo (0.3.0) 72 | nap (1.1.0) 73 | netrc (0.11.0) 74 | public_suffix (4.0.6) 75 | rexml (3.2.5) 76 | ruby-macho (2.5.1) 77 | typhoeus (1.4.0) 78 | ethon (>= 0.9.0) 79 | tzinfo (2.0.4) 80 | concurrent-ruby (~> 1.0) 81 | xcodeproj (1.21.0) 82 | CFPropertyList (>= 2.3.3, < 4.0) 83 | atomos (~> 0.1.3) 84 | claide (>= 1.0.2, < 2.0) 85 | colored2 (~> 3.1) 86 | nanaimo (~> 0.3.0) 87 | rexml (~> 3.2.4) 88 | zeitwerk (2.5.4) 89 | 90 | PLATFORMS 91 | ruby 92 | 93 | DEPENDENCIES 94 | cocoapods (~> 1.11, >= 1.11.2) 95 | 96 | RUBY VERSION 97 | ruby 2.7.4p191 98 | 99 | BUNDLED WITH 100 | 2.2.27 101 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnhaptik/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.rnhaptik; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | import com.facebook.react.PackageList; 6 | import com.facebook.react.ReactApplication; 7 | import com.facebook.react.ReactInstanceManager; 8 | import com.facebook.react.ReactNativeHost; 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | import java.lang.reflect.InvocationTargetException; 12 | import java.util.List; 13 | 14 | public class MainApplication extends Application implements ReactApplication { 15 | 16 | private final ReactNativeHost mReactNativeHost = 17 | new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | @SuppressWarnings("UnnecessaryLocalVariable") 26 | List packages = new PackageList(this).getPackages(); 27 | // Packages that cannot be autolinked yet can be added manually here, for example: 28 | // packages.add(new MyReactNativePackage()); 29 | packages.add(new GlobalPackage()); 30 | return packages; 31 | } 32 | 33 | @Override 34 | protected String getJSMainModuleName() { 35 | return "index"; 36 | } 37 | }; 38 | 39 | @Override 40 | public ReactNativeHost getReactNativeHost() { 41 | return mReactNativeHost; 42 | } 43 | 44 | @Override 45 | public void onCreate() { 46 | super.onCreate(); 47 | SoLoader.init(this, /* native exopackage */ false); 48 | initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); 49 | } 50 | 51 | /** 52 | * Loads Flipper in React Native templates. Call this in the onCreate method with something like 53 | * initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); 54 | * 55 | * @param context 56 | * @param reactInstanceManager 57 | */ 58 | private static void initializeFlipper( 59 | Context context, ReactInstanceManager reactInstanceManager) { 60 | if (BuildConfig.DEBUG) { 61 | try { 62 | /* 63 | We use reflection here to pick up the class that initializes Flipper, 64 | since Flipper library is not available in release mode 65 | */ 66 | Class aClass = Class.forName("com.rnhaptik.ReactNativeFlipper"); 67 | aClass 68 | .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class) 69 | .invoke(null, context, reactInstanceManager); 70 | } catch (ClassNotFoundException e) { 71 | e.printStackTrace(); 72 | } catch (NoSuchMethodException e) { 73 | e.printStackTrace(); 74 | } catch (IllegalAccessException e) { 75 | e.printStackTrace(); 76 | } catch (InvocationTargetException e) { 77 | e.printStackTrace(); 78 | } 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto execute 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto execute 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :execute 68 | @rem Setup the command line 69 | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 71 | 72 | 73 | @rem Execute Gradle 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 75 | 76 | :end 77 | @rem End local scope for the variables with windows NT shell 78 | if "%ERRORLEVEL%"=="0" goto mainEnd 79 | 80 | :fail 81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 | rem the _cmd.exe /c_ return code! 83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 | exit /b 1 85 | 86 | :mainEnd 87 | if "%OS%"=="Windows_NT" endlocal 88 | 89 | :omega 90 | -------------------------------------------------------------------------------- /android/app/src/debug/java/com/rnhaptik/ReactNativeFlipper.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | *

This source code is licensed under the MIT license found in the LICENSE file in the root 5 | * directory of this source tree. 6 | */ 7 | package com.rnhaptik; 8 | 9 | import android.content.Context; 10 | import com.facebook.flipper.android.AndroidFlipperClient; 11 | import com.facebook.flipper.android.utils.FlipperUtils; 12 | import com.facebook.flipper.core.FlipperClient; 13 | import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin; 14 | import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin; 15 | import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin; 16 | import com.facebook.flipper.plugins.inspector.DescriptorMapping; 17 | import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin; 18 | import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor; 19 | import com.facebook.flipper.plugins.network.NetworkFlipperPlugin; 20 | import com.facebook.flipper.plugins.react.ReactFlipperPlugin; 21 | import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin; 22 | import com.facebook.react.ReactInstanceManager; 23 | import com.facebook.react.bridge.ReactContext; 24 | import com.facebook.react.modules.network.NetworkingModule; 25 | import okhttp3.OkHttpClient; 26 | 27 | public class ReactNativeFlipper { 28 | public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { 29 | if (FlipperUtils.shouldEnableFlipper(context)) { 30 | final FlipperClient client = AndroidFlipperClient.getInstance(context); 31 | 32 | client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults())); 33 | client.addPlugin(new ReactFlipperPlugin()); 34 | client.addPlugin(new DatabasesFlipperPlugin(context)); 35 | client.addPlugin(new SharedPreferencesFlipperPlugin(context)); 36 | client.addPlugin(CrashReporterPlugin.getInstance()); 37 | 38 | NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin(); 39 | NetworkingModule.setCustomClientBuilder( 40 | new NetworkingModule.CustomClientBuilder() { 41 | @Override 42 | public void apply(OkHttpClient.Builder builder) { 43 | builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin)); 44 | } 45 | }); 46 | client.addPlugin(networkFlipperPlugin); 47 | client.start(); 48 | 49 | // Fresco Plugin needs to ensure that ImagePipelineFactory is initialized 50 | // Hence we run if after all native modules have been initialized 51 | ReactContext reactContext = reactInstanceManager.getCurrentReactContext(); 52 | if (reactContext == null) { 53 | reactInstanceManager.addReactInstanceEventListener( 54 | new ReactInstanceManager.ReactInstanceEventListener() { 55 | @Override 56 | public void onReactContextInitialized(ReactContext reactContext) { 57 | reactInstanceManager.removeReactInstanceEventListener(this); 58 | reactContext.runOnNativeModulesQueueThread( 59 | new Runnable() { 60 | @Override 61 | public void run() { 62 | client.addPlugin(new FrescoFlipperPlugin()); 63 | } 64 | }); 65 | } 66 | }); 67 | } else { 68 | client.addPlugin(new FrescoFlipperPlugin()); 69 | } 70 | } 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /ios/RNHaptik.xcodeproj/xcshareddata/xcschemes/RNHaptik.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 53 | 55 | 61 | 62 | 63 | 64 | 70 | 72 | 78 | 79 | 80 | 81 | 83 | 84 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /ios/RNHaptik/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## Gradle start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | 86 | # Determine the Java command to use to start the JVM. 87 | if [ -n "$JAVA_HOME" ] ; then 88 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 89 | # IBM's JDK on AIX uses strange locations for the executables 90 | JAVACMD="$JAVA_HOME/jre/sh/java" 91 | else 92 | JAVACMD="$JAVA_HOME/bin/java" 93 | fi 94 | if [ ! -x "$JAVACMD" ] ; then 95 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 96 | 97 | Please set the JAVA_HOME variable in your environment to match the 98 | location of your Java installation." 99 | fi 100 | else 101 | JAVACMD="java" 102 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 103 | 104 | Please set the JAVA_HOME variable in your environment to match the 105 | location of your Java installation." 106 | fi 107 | 108 | # Increase the maximum file descriptors if we can. 109 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 110 | MAX_FD_LIMIT=`ulimit -H -n` 111 | if [ $? -eq 0 ] ; then 112 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 113 | MAX_FD="$MAX_FD_LIMIT" 114 | fi 115 | ulimit -n $MAX_FD 116 | if [ $? -ne 0 ] ; then 117 | warn "Could not set maximum file descriptor limit: $MAX_FD" 118 | fi 119 | else 120 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 121 | fi 122 | fi 123 | 124 | # For Darwin, add options to specify how the application appears in the dock 125 | if $darwin; then 126 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 127 | fi 128 | 129 | # For Cygwin or MSYS, switch paths to Windows format before running java 130 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then 131 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 132 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 133 | 134 | JAVACMD=`cygpath --unix "$JAVACMD"` 135 | 136 | # We build the pattern for arguments to be converted via cygpath 137 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 138 | SEP="" 139 | for dir in $ROOTDIRSRAW ; do 140 | ROOTDIRS="$ROOTDIRS$SEP$dir" 141 | SEP="|" 142 | done 143 | OURCYGPATTERN="(^($ROOTDIRS))" 144 | # Add a user-defined pattern to the cygpath arguments 145 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 146 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 147 | fi 148 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 149 | i=0 150 | for arg in "$@" ; do 151 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 152 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 153 | 154 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 155 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 156 | else 157 | eval `echo args$i`="\"$arg\"" 158 | fi 159 | i=`expr $i + 1` 160 | done 161 | case $i in 162 | 0) set -- ;; 163 | 1) set -- "$args0" ;; 164 | 2) set -- "$args0" "$args1" ;; 165 | 3) set -- "$args0" "$args1" "$args2" ;; 166 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;; 167 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 168 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 169 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 170 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 171 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 172 | esac 173 | fi 174 | 175 | # Escape application args 176 | save () { 177 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 178 | echo " " 179 | } 180 | APP_ARGS=`save "$@"` 181 | 182 | # Collect all arguments for the java command, following the shell quoting and substitution rules 183 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 184 | 185 | exec "$JAVACMD" "$@" 186 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation. If none specified and 19 | * // "index.android.js" exists, it will be used. Otherwise "index.js" is 20 | * // default. Can be overridden with ENTRY_FILE environment variable. 21 | * entryFile: "index.android.js", 22 | * 23 | * // https://reactnative.dev/docs/performance#enable-the-ram-format 24 | * bundleCommand: "ram-bundle", 25 | * 26 | * // whether to bundle JS and assets in debug mode 27 | * bundleInDebug: false, 28 | * 29 | * // whether to bundle JS and assets in release mode 30 | * bundleInRelease: true, 31 | * 32 | * // whether to bundle JS and assets in another build variant (if configured). 33 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 34 | * // The configuration property can be in the following formats 35 | * // 'bundleIn${productFlavor}${buildType}' 36 | * // 'bundleIn${buildType}' 37 | * // bundleInFreeDebug: true, 38 | * // bundleInPaidRelease: true, 39 | * // bundleInBeta: true, 40 | * 41 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 42 | * // for example: to disable dev mode in the staging build type (if configured) 43 | * devDisabledInStaging: true, 44 | * // The configuration property can be in the following formats 45 | * // 'devDisabledIn${productFlavor}${buildType}' 46 | * // 'devDisabledIn${buildType}' 47 | * 48 | * // the root of your project, i.e. where "package.json" lives 49 | * root: "../../", 50 | * 51 | * // where to put the JS bundle asset in debug mode 52 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 53 | * 54 | * // where to put the JS bundle asset in release mode 55 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 56 | * 57 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 58 | * // require('./image.png')), in debug mode 59 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 60 | * 61 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 62 | * // require('./image.png')), in release mode 63 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 64 | * 65 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 66 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 67 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 68 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 69 | * // for example, you might want to remove it from here. 70 | * inputExcludes: ["android/**", "ios/**"], 71 | * 72 | * // override which node gets called and with what additional arguments 73 | * nodeExecutableAndArgs: ["node"], 74 | * 75 | * // supply additional arguments to the packager 76 | * extraPackagerArgs: [] 77 | * ] 78 | */ 79 | 80 | project.ext.react = [ 81 | enableHermes: false, // clean and rebuild if changing 82 | ] 83 | 84 | apply from: "../../node_modules/react-native/react.gradle" 85 | 86 | /** 87 | * Set this to true to create two separate APKs instead of one: 88 | * - An APK that only works on ARM devices 89 | * - An APK that only works on x86 devices 90 | * The advantage is the size of the APK is reduced by about 4MB. 91 | * Upload all the APKs to the Play Store and people will download 92 | * the correct one based on the CPU architecture of their device. 93 | */ 94 | def enableSeparateBuildPerCPUArchitecture = false 95 | 96 | /** 97 | * Run Proguard to shrink the Java bytecode in release builds. 98 | */ 99 | def enableProguardInReleaseBuilds = false 100 | 101 | /** 102 | * The preferred build flavor of JavaScriptCore. 103 | * 104 | * For example, to use the international variant, you can use: 105 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 106 | * 107 | * The international variant includes ICU i18n library and necessary data 108 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 109 | * give correct results when using with locales other than en-US. Note that 110 | * this variant is about 6MiB larger per architecture than default. 111 | */ 112 | def jscFlavor = 'org.webkit:android-jsc:+' 113 | 114 | /** 115 | * Whether to enable the Hermes VM. 116 | * 117 | * This should be set on project.ext.react and that value will be read here. If it is not set 118 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode 119 | * and the benefits of using Hermes will therefore be sharply reduced. 120 | */ 121 | def enableHermes = project.ext.react.get("enableHermes", false); 122 | 123 | /** 124 | * Architectures to build native code for in debug. 125 | */ 126 | def nativeArchitectures = project.getProperties().get("reactNativeDebugArchitectures") 127 | 128 | android { 129 | ndkVersion rootProject.ext.ndkVersion 130 | 131 | compileSdkVersion rootProject.ext.compileSdkVersion 132 | 133 | defaultConfig { 134 | applicationId "com.rnhaptik" 135 | minSdkVersion rootProject.ext.minSdkVersion 136 | targetSdkVersion rootProject.ext.targetSdkVersion 137 | versionCode 1 138 | versionName "1.0" 139 | } 140 | splits { 141 | abi { 142 | reset() 143 | enable enableSeparateBuildPerCPUArchitecture 144 | universalApk false // If true, also generate a universal APK 145 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 146 | } 147 | } 148 | signingConfigs { 149 | debug { 150 | storeFile file('debug.keystore') 151 | storePassword 'android' 152 | keyAlias 'androiddebugkey' 153 | keyPassword 'android' 154 | } 155 | } 156 | buildTypes { 157 | debug { 158 | signingConfig signingConfigs.debug 159 | if (nativeArchitectures) { 160 | ndk { 161 | abiFilters nativeArchitectures.split(',') 162 | } 163 | } 164 | } 165 | release { 166 | // Caution! In production, you need to generate your own keystore file. 167 | // see https://reactnative.dev/docs/signed-apk-android. 168 | signingConfig signingConfigs.debug 169 | minifyEnabled enableProguardInReleaseBuilds 170 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 171 | } 172 | } 173 | 174 | // applicationVariants are e.g. debug, release 175 | applicationVariants.all { variant -> 176 | variant.outputs.each { output -> 177 | // For each separate APK per architecture, set a unique version code as described here: 178 | // https://developer.android.com/studio/build/configure-apk-splits.html 179 | // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc. 180 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] 181 | def abi = output.getFilter(OutputFile.ABI) 182 | if (abi != null) { // null for the universal-debug, universal-release variants 183 | output.versionCodeOverride = 184 | defaultConfig.versionCode * 1000 + versionCodes.get(abi) 185 | } 186 | 187 | } 188 | } 189 | } 190 | 191 | dependencies { 192 | implementation fileTree(dir: "libs", include: ["*.jar"]) 193 | //noinspection GradleDynamicVersion 194 | implementation "com.facebook.react:react-native:+" // From node_modules 195 | 196 | implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" 197 | 198 | implementation 'ai.haptik.android.sdk:haptiklib-wrapper:1.0.2' //HaptikConfig 199 | implementation 'com.google.firebase:firebase-messaging:20.0.1' 200 | 201 | debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") { 202 | exclude group:'com.facebook.fbjni' 203 | } 204 | 205 | debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { 206 | exclude group:'com.facebook.flipper' 207 | exclude group:'com.squareup.okhttp3', module:'okhttp' 208 | } 209 | 210 | debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") { 211 | exclude group:'com.facebook.flipper' 212 | } 213 | 214 | if (enableHermes) { 215 | def hermesPath = "../../node_modules/hermes-engine/android/"; 216 | debugImplementation files(hermesPath + "hermes-debug.aar") 217 | releaseImplementation files(hermesPath + "hermes-release.aar") 218 | } else { 219 | implementation jscFlavor 220 | } 221 | } 222 | 223 | // Run this once to be able to run the application with BUCK 224 | // puts all compile dependencies into folder libs for BUCK to use 225 | task copyDownloadableDepsToLibs(type: Copy) { 226 | from configurations.implementation 227 | into 'libs' 228 | } 229 | 230 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) 231 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost (1.76.0) 3 | - CocoaAsyncSocket (7.6.5) 4 | - DoubleConversion (1.1.6) 5 | - FBLazyVector (0.67.3) 6 | - FBReactNativeSpec (0.67.3): 7 | - RCT-Folly (= 2021.06.28.00-v2) 8 | - RCTRequired (= 0.67.3) 9 | - RCTTypeSafety (= 0.67.3) 10 | - React-Core (= 0.67.3) 11 | - React-jsi (= 0.67.3) 12 | - ReactCommon/turbomodule/core (= 0.67.3) 13 | - Flipper (0.99.0): 14 | - Flipper-Folly (~> 2.6) 15 | - Flipper-RSocket (~> 1.4) 16 | - Flipper-Boost-iOSX (1.76.0.1.11) 17 | - Flipper-DoubleConversion (3.1.7) 18 | - Flipper-Fmt (7.1.7) 19 | - Flipper-Folly (2.6.7): 20 | - Flipper-Boost-iOSX 21 | - Flipper-DoubleConversion 22 | - Flipper-Fmt (= 7.1.7) 23 | - Flipper-Glog 24 | - libevent (~> 2.1.12) 25 | - OpenSSL-Universal (= 1.1.180) 26 | - Flipper-Glog (0.3.6) 27 | - Flipper-PeerTalk (0.0.4) 28 | - Flipper-RSocket (1.4.3): 29 | - Flipper-Folly (~> 2.6) 30 | - FlipperKit (0.99.0): 31 | - FlipperKit/Core (= 0.99.0) 32 | - FlipperKit/Core (0.99.0): 33 | - Flipper (~> 0.99.0) 34 | - FlipperKit/CppBridge 35 | - FlipperKit/FBCxxFollyDynamicConvert 36 | - FlipperKit/FBDefines 37 | - FlipperKit/FKPortForwarding 38 | - FlipperKit/CppBridge (0.99.0): 39 | - Flipper (~> 0.99.0) 40 | - FlipperKit/FBCxxFollyDynamicConvert (0.99.0): 41 | - Flipper-Folly (~> 2.6) 42 | - FlipperKit/FBDefines (0.99.0) 43 | - FlipperKit/FKPortForwarding (0.99.0): 44 | - CocoaAsyncSocket (~> 7.6) 45 | - Flipper-PeerTalk (~> 0.0.4) 46 | - FlipperKit/FlipperKitHighlightOverlay (0.99.0) 47 | - FlipperKit/FlipperKitLayoutHelpers (0.99.0): 48 | - FlipperKit/Core 49 | - FlipperKit/FlipperKitHighlightOverlay 50 | - FlipperKit/FlipperKitLayoutTextSearchable 51 | - FlipperKit/FlipperKitLayoutIOSDescriptors (0.99.0): 52 | - FlipperKit/Core 53 | - FlipperKit/FlipperKitHighlightOverlay 54 | - FlipperKit/FlipperKitLayoutHelpers 55 | - YogaKit (~> 1.18) 56 | - FlipperKit/FlipperKitLayoutPlugin (0.99.0): 57 | - FlipperKit/Core 58 | - FlipperKit/FlipperKitHighlightOverlay 59 | - FlipperKit/FlipperKitLayoutHelpers 60 | - FlipperKit/FlipperKitLayoutIOSDescriptors 61 | - FlipperKit/FlipperKitLayoutTextSearchable 62 | - YogaKit (~> 1.18) 63 | - FlipperKit/FlipperKitLayoutTextSearchable (0.99.0) 64 | - FlipperKit/FlipperKitNetworkPlugin (0.99.0): 65 | - FlipperKit/Core 66 | - FlipperKit/FlipperKitReactPlugin (0.99.0): 67 | - FlipperKit/Core 68 | - FlipperKit/FlipperKitUserDefaultsPlugin (0.99.0): 69 | - FlipperKit/Core 70 | - FlipperKit/SKIOSNetworkPlugin (0.99.0): 71 | - FlipperKit/Core 72 | - FlipperKit/FlipperKitNetworkPlugin 73 | - fmt (6.2.1) 74 | - glog (0.3.5) 75 | - HPWebKit (0.2.2): 76 | - SSZipArchive (~> 2.2) 77 | - libevent (2.1.12) 78 | - OpenSSL-Universal (1.1.180) 79 | - RCT-Folly (2021.06.28.00-v2): 80 | - boost 81 | - DoubleConversion 82 | - fmt (~> 6.2.1) 83 | - glog 84 | - RCT-Folly/Default (= 2021.06.28.00-v2) 85 | - RCT-Folly/Default (2021.06.28.00-v2): 86 | - boost 87 | - DoubleConversion 88 | - fmt (~> 6.2.1) 89 | - glog 90 | - RCTRequired (0.67.3) 91 | - RCTTypeSafety (0.67.3): 92 | - FBLazyVector (= 0.67.3) 93 | - RCT-Folly (= 2021.06.28.00-v2) 94 | - RCTRequired (= 0.67.3) 95 | - React-Core (= 0.67.3) 96 | - React (0.67.3): 97 | - React-Core (= 0.67.3) 98 | - React-Core/DevSupport (= 0.67.3) 99 | - React-Core/RCTWebSocket (= 0.67.3) 100 | - React-RCTActionSheet (= 0.67.3) 101 | - React-RCTAnimation (= 0.67.3) 102 | - React-RCTBlob (= 0.67.3) 103 | - React-RCTImage (= 0.67.3) 104 | - React-RCTLinking (= 0.67.3) 105 | - React-RCTNetwork (= 0.67.3) 106 | - React-RCTSettings (= 0.67.3) 107 | - React-RCTText (= 0.67.3) 108 | - React-RCTVibration (= 0.67.3) 109 | - React-callinvoker (0.67.3) 110 | - React-Core (0.67.3): 111 | - glog 112 | - RCT-Folly (= 2021.06.28.00-v2) 113 | - React-Core/Default (= 0.67.3) 114 | - React-cxxreact (= 0.67.3) 115 | - React-jsi (= 0.67.3) 116 | - React-jsiexecutor (= 0.67.3) 117 | - React-perflogger (= 0.67.3) 118 | - Yoga 119 | - React-Core/CoreModulesHeaders (0.67.3): 120 | - glog 121 | - RCT-Folly (= 2021.06.28.00-v2) 122 | - React-Core/Default 123 | - React-cxxreact (= 0.67.3) 124 | - React-jsi (= 0.67.3) 125 | - React-jsiexecutor (= 0.67.3) 126 | - React-perflogger (= 0.67.3) 127 | - Yoga 128 | - React-Core/Default (0.67.3): 129 | - glog 130 | - RCT-Folly (= 2021.06.28.00-v2) 131 | - React-cxxreact (= 0.67.3) 132 | - React-jsi (= 0.67.3) 133 | - React-jsiexecutor (= 0.67.3) 134 | - React-perflogger (= 0.67.3) 135 | - Yoga 136 | - React-Core/DevSupport (0.67.3): 137 | - glog 138 | - RCT-Folly (= 2021.06.28.00-v2) 139 | - React-Core/Default (= 0.67.3) 140 | - React-Core/RCTWebSocket (= 0.67.3) 141 | - React-cxxreact (= 0.67.3) 142 | - React-jsi (= 0.67.3) 143 | - React-jsiexecutor (= 0.67.3) 144 | - React-jsinspector (= 0.67.3) 145 | - React-perflogger (= 0.67.3) 146 | - Yoga 147 | - React-Core/RCTActionSheetHeaders (0.67.3): 148 | - glog 149 | - RCT-Folly (= 2021.06.28.00-v2) 150 | - React-Core/Default 151 | - React-cxxreact (= 0.67.3) 152 | - React-jsi (= 0.67.3) 153 | - React-jsiexecutor (= 0.67.3) 154 | - React-perflogger (= 0.67.3) 155 | - Yoga 156 | - React-Core/RCTAnimationHeaders (0.67.3): 157 | - glog 158 | - RCT-Folly (= 2021.06.28.00-v2) 159 | - React-Core/Default 160 | - React-cxxreact (= 0.67.3) 161 | - React-jsi (= 0.67.3) 162 | - React-jsiexecutor (= 0.67.3) 163 | - React-perflogger (= 0.67.3) 164 | - Yoga 165 | - React-Core/RCTBlobHeaders (0.67.3): 166 | - glog 167 | - RCT-Folly (= 2021.06.28.00-v2) 168 | - React-Core/Default 169 | - React-cxxreact (= 0.67.3) 170 | - React-jsi (= 0.67.3) 171 | - React-jsiexecutor (= 0.67.3) 172 | - React-perflogger (= 0.67.3) 173 | - Yoga 174 | - React-Core/RCTImageHeaders (0.67.3): 175 | - glog 176 | - RCT-Folly (= 2021.06.28.00-v2) 177 | - React-Core/Default 178 | - React-cxxreact (= 0.67.3) 179 | - React-jsi (= 0.67.3) 180 | - React-jsiexecutor (= 0.67.3) 181 | - React-perflogger (= 0.67.3) 182 | - Yoga 183 | - React-Core/RCTLinkingHeaders (0.67.3): 184 | - glog 185 | - RCT-Folly (= 2021.06.28.00-v2) 186 | - React-Core/Default 187 | - React-cxxreact (= 0.67.3) 188 | - React-jsi (= 0.67.3) 189 | - React-jsiexecutor (= 0.67.3) 190 | - React-perflogger (= 0.67.3) 191 | - Yoga 192 | - React-Core/RCTNetworkHeaders (0.67.3): 193 | - glog 194 | - RCT-Folly (= 2021.06.28.00-v2) 195 | - React-Core/Default 196 | - React-cxxreact (= 0.67.3) 197 | - React-jsi (= 0.67.3) 198 | - React-jsiexecutor (= 0.67.3) 199 | - React-perflogger (= 0.67.3) 200 | - Yoga 201 | - React-Core/RCTSettingsHeaders (0.67.3): 202 | - glog 203 | - RCT-Folly (= 2021.06.28.00-v2) 204 | - React-Core/Default 205 | - React-cxxreact (= 0.67.3) 206 | - React-jsi (= 0.67.3) 207 | - React-jsiexecutor (= 0.67.3) 208 | - React-perflogger (= 0.67.3) 209 | - Yoga 210 | - React-Core/RCTTextHeaders (0.67.3): 211 | - glog 212 | - RCT-Folly (= 2021.06.28.00-v2) 213 | - React-Core/Default 214 | - React-cxxreact (= 0.67.3) 215 | - React-jsi (= 0.67.3) 216 | - React-jsiexecutor (= 0.67.3) 217 | - React-perflogger (= 0.67.3) 218 | - Yoga 219 | - React-Core/RCTVibrationHeaders (0.67.3): 220 | - glog 221 | - RCT-Folly (= 2021.06.28.00-v2) 222 | - React-Core/Default 223 | - React-cxxreact (= 0.67.3) 224 | - React-jsi (= 0.67.3) 225 | - React-jsiexecutor (= 0.67.3) 226 | - React-perflogger (= 0.67.3) 227 | - Yoga 228 | - React-Core/RCTWebSocket (0.67.3): 229 | - glog 230 | - RCT-Folly (= 2021.06.28.00-v2) 231 | - React-Core/Default (= 0.67.3) 232 | - React-cxxreact (= 0.67.3) 233 | - React-jsi (= 0.67.3) 234 | - React-jsiexecutor (= 0.67.3) 235 | - React-perflogger (= 0.67.3) 236 | - Yoga 237 | - React-CoreModules (0.67.3): 238 | - FBReactNativeSpec (= 0.67.3) 239 | - RCT-Folly (= 2021.06.28.00-v2) 240 | - RCTTypeSafety (= 0.67.3) 241 | - React-Core/CoreModulesHeaders (= 0.67.3) 242 | - React-jsi (= 0.67.3) 243 | - React-RCTImage (= 0.67.3) 244 | - ReactCommon/turbomodule/core (= 0.67.3) 245 | - React-cxxreact (0.67.3): 246 | - boost (= 1.76.0) 247 | - DoubleConversion 248 | - glog 249 | - RCT-Folly (= 2021.06.28.00-v2) 250 | - React-callinvoker (= 0.67.3) 251 | - React-jsi (= 0.67.3) 252 | - React-jsinspector (= 0.67.3) 253 | - React-logger (= 0.67.3) 254 | - React-perflogger (= 0.67.3) 255 | - React-runtimeexecutor (= 0.67.3) 256 | - React-jsi (0.67.3): 257 | - boost (= 1.76.0) 258 | - DoubleConversion 259 | - glog 260 | - RCT-Folly (= 2021.06.28.00-v2) 261 | - React-jsi/Default (= 0.67.3) 262 | - React-jsi/Default (0.67.3): 263 | - boost (= 1.76.0) 264 | - DoubleConversion 265 | - glog 266 | - RCT-Folly (= 2021.06.28.00-v2) 267 | - React-jsiexecutor (0.67.3): 268 | - DoubleConversion 269 | - glog 270 | - RCT-Folly (= 2021.06.28.00-v2) 271 | - React-cxxreact (= 0.67.3) 272 | - React-jsi (= 0.67.3) 273 | - React-perflogger (= 0.67.3) 274 | - React-jsinspector (0.67.3) 275 | - React-logger (0.67.3): 276 | - glog 277 | - React-perflogger (0.67.3) 278 | - React-RCTActionSheet (0.67.3): 279 | - React-Core/RCTActionSheetHeaders (= 0.67.3) 280 | - React-RCTAnimation (0.67.3): 281 | - FBReactNativeSpec (= 0.67.3) 282 | - RCT-Folly (= 2021.06.28.00-v2) 283 | - RCTTypeSafety (= 0.67.3) 284 | - React-Core/RCTAnimationHeaders (= 0.67.3) 285 | - React-jsi (= 0.67.3) 286 | - ReactCommon/turbomodule/core (= 0.67.3) 287 | - React-RCTBlob (0.67.3): 288 | - FBReactNativeSpec (= 0.67.3) 289 | - RCT-Folly (= 2021.06.28.00-v2) 290 | - React-Core/RCTBlobHeaders (= 0.67.3) 291 | - React-Core/RCTWebSocket (= 0.67.3) 292 | - React-jsi (= 0.67.3) 293 | - React-RCTNetwork (= 0.67.3) 294 | - ReactCommon/turbomodule/core (= 0.67.3) 295 | - React-RCTImage (0.67.3): 296 | - FBReactNativeSpec (= 0.67.3) 297 | - RCT-Folly (= 2021.06.28.00-v2) 298 | - RCTTypeSafety (= 0.67.3) 299 | - React-Core/RCTImageHeaders (= 0.67.3) 300 | - React-jsi (= 0.67.3) 301 | - React-RCTNetwork (= 0.67.3) 302 | - ReactCommon/turbomodule/core (= 0.67.3) 303 | - React-RCTLinking (0.67.3): 304 | - FBReactNativeSpec (= 0.67.3) 305 | - React-Core/RCTLinkingHeaders (= 0.67.3) 306 | - React-jsi (= 0.67.3) 307 | - ReactCommon/turbomodule/core (= 0.67.3) 308 | - React-RCTNetwork (0.67.3): 309 | - FBReactNativeSpec (= 0.67.3) 310 | - RCT-Folly (= 2021.06.28.00-v2) 311 | - RCTTypeSafety (= 0.67.3) 312 | - React-Core/RCTNetworkHeaders (= 0.67.3) 313 | - React-jsi (= 0.67.3) 314 | - ReactCommon/turbomodule/core (= 0.67.3) 315 | - React-RCTSettings (0.67.3): 316 | - FBReactNativeSpec (= 0.67.3) 317 | - RCT-Folly (= 2021.06.28.00-v2) 318 | - RCTTypeSafety (= 0.67.3) 319 | - React-Core/RCTSettingsHeaders (= 0.67.3) 320 | - React-jsi (= 0.67.3) 321 | - ReactCommon/turbomodule/core (= 0.67.3) 322 | - React-RCTText (0.67.3): 323 | - React-Core/RCTTextHeaders (= 0.67.3) 324 | - React-RCTVibration (0.67.3): 325 | - FBReactNativeSpec (= 0.67.3) 326 | - RCT-Folly (= 2021.06.28.00-v2) 327 | - React-Core/RCTVibrationHeaders (= 0.67.3) 328 | - React-jsi (= 0.67.3) 329 | - ReactCommon/turbomodule/core (= 0.67.3) 330 | - React-runtimeexecutor (0.67.3): 331 | - React-jsi (= 0.67.3) 332 | - ReactCommon/turbomodule/core (0.67.3): 333 | - DoubleConversion 334 | - glog 335 | - RCT-Folly (= 2021.06.28.00-v2) 336 | - React-callinvoker (= 0.67.3) 337 | - React-Core (= 0.67.3) 338 | - React-cxxreact (= 0.67.3) 339 | - React-jsi (= 0.67.3) 340 | - React-logger (= 0.67.3) 341 | - React-perflogger (= 0.67.3) 342 | - SSZipArchive (2.4.3) 343 | - Yoga (1.14.0) 344 | - YogaKit (1.18.1): 345 | - Yoga (~> 1.14) 346 | 347 | DEPENDENCIES: 348 | - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) 349 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) 350 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) 351 | - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) 352 | - Flipper (= 0.99.0) 353 | - Flipper-Boost-iOSX (= 1.76.0.1.11) 354 | - Flipper-DoubleConversion (= 3.1.7) 355 | - Flipper-Fmt (= 7.1.7) 356 | - Flipper-Folly (= 2.6.7) 357 | - Flipper-Glog (= 0.3.6) 358 | - Flipper-PeerTalk (= 0.0.4) 359 | - Flipper-RSocket (= 1.4.3) 360 | - FlipperKit (= 0.99.0) 361 | - FlipperKit/Core (= 0.99.0) 362 | - FlipperKit/CppBridge (= 0.99.0) 363 | - FlipperKit/FBCxxFollyDynamicConvert (= 0.99.0) 364 | - FlipperKit/FBDefines (= 0.99.0) 365 | - FlipperKit/FKPortForwarding (= 0.99.0) 366 | - FlipperKit/FlipperKitHighlightOverlay (= 0.99.0) 367 | - FlipperKit/FlipperKitLayoutPlugin (= 0.99.0) 368 | - FlipperKit/FlipperKitLayoutTextSearchable (= 0.99.0) 369 | - FlipperKit/FlipperKitNetworkPlugin (= 0.99.0) 370 | - FlipperKit/FlipperKitReactPlugin (= 0.99.0) 371 | - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.99.0) 372 | - FlipperKit/SKIOSNetworkPlugin (= 0.99.0) 373 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) 374 | - HPWebKit 375 | - OpenSSL-Universal (= 1.1.180) 376 | - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) 377 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) 378 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) 379 | - React (from `../node_modules/react-native/`) 380 | - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) 381 | - React-Core (from `../node_modules/react-native/`) 382 | - React-Core/DevSupport (from `../node_modules/react-native/`) 383 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`) 384 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) 385 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) 386 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 387 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 388 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 389 | - React-logger (from `../node_modules/react-native/ReactCommon/logger`) 390 | - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) 391 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 392 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 393 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 394 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) 395 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) 396 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) 397 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) 398 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`) 399 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 400 | - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) 401 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) 402 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) 403 | 404 | SPEC REPOS: 405 | trunk: 406 | - CocoaAsyncSocket 407 | - Flipper 408 | - Flipper-Boost-iOSX 409 | - Flipper-DoubleConversion 410 | - Flipper-Fmt 411 | - Flipper-Folly 412 | - Flipper-Glog 413 | - Flipper-PeerTalk 414 | - Flipper-RSocket 415 | - FlipperKit 416 | - fmt 417 | - HPWebKit 418 | - libevent 419 | - OpenSSL-Universal 420 | - SSZipArchive 421 | - YogaKit 422 | 423 | EXTERNAL SOURCES: 424 | boost: 425 | :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" 426 | DoubleConversion: 427 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" 428 | FBLazyVector: 429 | :path: "../node_modules/react-native/Libraries/FBLazyVector" 430 | FBReactNativeSpec: 431 | :path: "../node_modules/react-native/React/FBReactNativeSpec" 432 | glog: 433 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" 434 | RCT-Folly: 435 | :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" 436 | RCTRequired: 437 | :path: "../node_modules/react-native/Libraries/RCTRequired" 438 | RCTTypeSafety: 439 | :path: "../node_modules/react-native/Libraries/TypeSafety" 440 | React: 441 | :path: "../node_modules/react-native/" 442 | React-callinvoker: 443 | :path: "../node_modules/react-native/ReactCommon/callinvoker" 444 | React-Core: 445 | :path: "../node_modules/react-native/" 446 | React-CoreModules: 447 | :path: "../node_modules/react-native/React/CoreModules" 448 | React-cxxreact: 449 | :path: "../node_modules/react-native/ReactCommon/cxxreact" 450 | React-jsi: 451 | :path: "../node_modules/react-native/ReactCommon/jsi" 452 | React-jsiexecutor: 453 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 454 | React-jsinspector: 455 | :path: "../node_modules/react-native/ReactCommon/jsinspector" 456 | React-logger: 457 | :path: "../node_modules/react-native/ReactCommon/logger" 458 | React-perflogger: 459 | :path: "../node_modules/react-native/ReactCommon/reactperflogger" 460 | React-RCTActionSheet: 461 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 462 | React-RCTAnimation: 463 | :path: "../node_modules/react-native/Libraries/NativeAnimation" 464 | React-RCTBlob: 465 | :path: "../node_modules/react-native/Libraries/Blob" 466 | React-RCTImage: 467 | :path: "../node_modules/react-native/Libraries/Image" 468 | React-RCTLinking: 469 | :path: "../node_modules/react-native/Libraries/LinkingIOS" 470 | React-RCTNetwork: 471 | :path: "../node_modules/react-native/Libraries/Network" 472 | React-RCTSettings: 473 | :path: "../node_modules/react-native/Libraries/Settings" 474 | React-RCTText: 475 | :path: "../node_modules/react-native/Libraries/Text" 476 | React-RCTVibration: 477 | :path: "../node_modules/react-native/Libraries/Vibration" 478 | React-runtimeexecutor: 479 | :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" 480 | ReactCommon: 481 | :path: "../node_modules/react-native/ReactCommon" 482 | Yoga: 483 | :path: "../node_modules/react-native/ReactCommon/yoga" 484 | 485 | SPEC CHECKSUMS: 486 | boost: a7c83b31436843459a1961bfd74b96033dc77234 487 | CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 488 | DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662 489 | FBLazyVector: 808f741ddb0896a20e5b98cc665f5b3413b072e2 490 | FBReactNativeSpec: 94473205b8741b61402e8c51716dea34aa3f5b2f 491 | Flipper: 30e8eeeed6abdc98edaf32af0cda2f198be4b733 492 | Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c 493 | Flipper-DoubleConversion: 57ffbe81ef95306cc9e69c4aa3aeeeeb58a6a28c 494 | Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b 495 | Flipper-Folly: 83af37379faa69497529e414bd43fbfc7cae259a 496 | Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6 497 | Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9 498 | Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541 499 | FlipperKit: d8d346844eca5d9120c17d441a2f38596e8ed2b9 500 | fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 501 | glog: 85ecdd10ee8d8ec362ef519a6a45ff9aa27b2e85 502 | HPWebKit: a8f7ccbabe6ffeda2bfb486fea4781955db82c4d 503 | libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 504 | OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b 505 | RCT-Folly: 803a9cfd78114b2ec0f140cfa6fa2a6bafb2d685 506 | RCTRequired: 3c77b683474faf23920fbefc71c4e13af21470c0 507 | RCTTypeSafety: 720b1841260dac692444c2822b27403178da8b28 508 | React: 25970dd74abbdac449ca66dec4107652cacc606d 509 | React-callinvoker: 2d158700bc27b3d49c3c95721d288ed6c1a489ef 510 | React-Core: 306cfdc1393bcf9481cc5de9807608db7661817b 511 | React-CoreModules: 2576a88d630899f3fcdf2cb79fcc0454d7b2a8bb 512 | React-cxxreact: a492f0de07d875419dcb9f463c63c22fe51c433b 513 | React-jsi: bca092b0c38d5e3fd60bb491d4994ab4a8ac2ad3 514 | React-jsiexecutor: 15ea57ead631a11fad57634ff69f78e797113a39 515 | React-jsinspector: 1e1e03345cf6d47779e2061d679d0a87d9ae73d8 516 | React-logger: 1e10789cb84f99288479ba5f20822ce43ced6ffe 517 | React-perflogger: 93d3f142d6d9a46e635f09ba0518027215a41098 518 | React-RCTActionSheet: 87327c3722203cc79cf79d02fb83e7332aeedd18 519 | React-RCTAnimation: 009c87c018d50e0b38692699405ebe631ff4872d 520 | React-RCTBlob: 9e30308cc1b127af11c8f858514d2d8638ce36d7 521 | React-RCTImage: b9460cb8e3acc51410735a234a9dffbf4964f540 522 | React-RCTLinking: 73ecf0b87b515383a08ebbf07f558c48de1f0027 523 | React-RCTNetwork: 8f63119f2da99a94515ad0e0d0a13f9b3f6fe89d 524 | React-RCTSettings: b827282b1ac2bd98515c0c09f5cbc5062ebd83b0 525 | React-RCTText: 6d09140f514e1f60aff255e0acdf16e3b486ba4c 526 | React-RCTVibration: d0361f15ea978958fab7ffb6960f475b5063d83f 527 | React-runtimeexecutor: af1946623656f9c5fd64ca6f36f3863516193446 528 | ReactCommon: 650e33cde4fb7d36781cd3143f5276da0abb2f96 529 | SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef 530 | Yoga: 90dcd029e45d8a7c1ff059e8b3c6612ff409061a 531 | YogaKit: f782866e155069a2cca2517aafea43200b01fd5a 532 | 533 | PODFILE CHECKSUM: 1890b17102bd96f4e27724b474f9dd4baf521052 534 | 535 | COCOAPODS: 1.11.2 536 | -------------------------------------------------------------------------------- /ios/RNHaptik.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E356F31AD99517003FC87E /* RNHaptikTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNHaptikTests.m */; }; 11 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 12 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 14 | 596D90F66327CD6787AC3F61 /* libPods-RNHaptik-RNHaptikTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F0861C843F3138A0C5D1E460 /* libPods-RNHaptik-RNHaptikTests.a */; }; 15 | 5B63103027E36026006ED12D /* GlobalManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B63102F27E36026006ED12D /* GlobalManager.m */; }; 16 | 7D8938D5CB65B99B5BF42A82 /* libPods-RNHaptik.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 08ABFB3C7D19A6130DD9E1B2 /* libPods-RNHaptik.a */; }; 17 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 26 | remoteInfo = RNHaptik; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 00E356EE1AD99517003FC87E /* RNHaptikTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RNHaptikTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 33 | 00E356F21AD99517003FC87E /* RNHaptikTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNHaptikTests.m; sourceTree = ""; }; 34 | 08ABFB3C7D19A6130DD9E1B2 /* libPods-RNHaptik.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNHaptik.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 0F491D151ED37885ECC4FDFE /* Pods-RNHaptik.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNHaptik.debug.xcconfig"; path = "Target Support Files/Pods-RNHaptik/Pods-RNHaptik.debug.xcconfig"; sourceTree = ""; }; 36 | 13B07F961A680F5B00A75B9A /* RNHaptik.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNHaptik.app; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RNHaptik/AppDelegate.h; sourceTree = ""; }; 38 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RNHaptik/AppDelegate.m; sourceTree = ""; }; 39 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNHaptik/Images.xcassets; sourceTree = ""; }; 40 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNHaptik/Info.plist; sourceTree = ""; }; 41 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNHaptik/main.m; sourceTree = ""; }; 42 | 4ADCF37BF06152A5AD07723F /* Pods-RNHaptik-RNHaptikTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNHaptik-RNHaptikTests.release.xcconfig"; path = "Target Support Files/Pods-RNHaptik-RNHaptikTests/Pods-RNHaptik-RNHaptikTests.release.xcconfig"; sourceTree = ""; }; 43 | 5B63102E27E35FDF006ED12D /* GlobalManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GlobalManager.h; sourceTree = ""; }; 44 | 5B63102F27E36026006ED12D /* GlobalManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GlobalManager.m; sourceTree = ""; }; 45 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNHaptik/LaunchScreen.storyboard; sourceTree = ""; }; 46 | B6AFEF8587B1CCB37330C277 /* Pods-RNHaptik.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNHaptik.release.xcconfig"; path = "Target Support Files/Pods-RNHaptik/Pods-RNHaptik.release.xcconfig"; sourceTree = ""; }; 47 | E2FADB6CF3D2A1D348C27C37 /* Pods-RNHaptik-RNHaptikTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNHaptik-RNHaptikTests.debug.xcconfig"; path = "Target Support Files/Pods-RNHaptik-RNHaptikTests/Pods-RNHaptik-RNHaptikTests.debug.xcconfig"; sourceTree = ""; }; 48 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 49 | F0861C843F3138A0C5D1E460 /* libPods-RNHaptik-RNHaptikTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNHaptik-RNHaptikTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 596D90F66327CD6787AC3F61 /* libPods-RNHaptik-RNHaptikTests.a in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 7D8938D5CB65B99B5BF42A82 /* libPods-RNHaptik.a in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 00E356EF1AD99517003FC87E /* RNHaptikTests */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 00E356F21AD99517003FC87E /* RNHaptikTests.m */, 76 | 00E356F01AD99517003FC87E /* Supporting Files */, 77 | ); 78 | path = RNHaptikTests; 79 | sourceTree = ""; 80 | }; 81 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | 00E356F11AD99517003FC87E /* Info.plist */, 85 | ); 86 | name = "Supporting Files"; 87 | sourceTree = ""; 88 | }; 89 | 13B07FAE1A68108700A75B9A /* RNHaptik */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 93 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 94 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 95 | 13B07FB61A68108700A75B9A /* Info.plist */, 96 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 97 | 13B07FB71A68108700A75B9A /* main.m */, 98 | 5B63102E27E35FDF006ED12D /* GlobalManager.h */, 99 | 5B63102F27E36026006ED12D /* GlobalManager.m */, 100 | ); 101 | name = RNHaptik; 102 | sourceTree = ""; 103 | }; 104 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 108 | 08ABFB3C7D19A6130DD9E1B2 /* libPods-RNHaptik.a */, 109 | F0861C843F3138A0C5D1E460 /* libPods-RNHaptik-RNHaptikTests.a */, 110 | ); 111 | name = Frameworks; 112 | sourceTree = ""; 113 | }; 114 | 588524C6B6D76116768D8199 /* Pods */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 0F491D151ED37885ECC4FDFE /* Pods-RNHaptik.debug.xcconfig */, 118 | B6AFEF8587B1CCB37330C277 /* Pods-RNHaptik.release.xcconfig */, 119 | E2FADB6CF3D2A1D348C27C37 /* Pods-RNHaptik-RNHaptikTests.debug.xcconfig */, 120 | 4ADCF37BF06152A5AD07723F /* Pods-RNHaptik-RNHaptikTests.release.xcconfig */, 121 | ); 122 | path = Pods; 123 | sourceTree = ""; 124 | }; 125 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | ); 129 | name = Libraries; 130 | sourceTree = ""; 131 | }; 132 | 83CBB9F61A601CBA00E9B192 = { 133 | isa = PBXGroup; 134 | children = ( 135 | 13B07FAE1A68108700A75B9A /* RNHaptik */, 136 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 137 | 00E356EF1AD99517003FC87E /* RNHaptikTests */, 138 | 83CBBA001A601CBA00E9B192 /* Products */, 139 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 140 | 588524C6B6D76116768D8199 /* Pods */, 141 | ); 142 | indentWidth = 2; 143 | sourceTree = ""; 144 | tabWidth = 2; 145 | usesTabs = 0; 146 | }; 147 | 83CBBA001A601CBA00E9B192 /* Products */ = { 148 | isa = PBXGroup; 149 | children = ( 150 | 13B07F961A680F5B00A75B9A /* RNHaptik.app */, 151 | 00E356EE1AD99517003FC87E /* RNHaptikTests.xctest */, 152 | ); 153 | name = Products; 154 | sourceTree = ""; 155 | }; 156 | /* End PBXGroup section */ 157 | 158 | /* Begin PBXNativeTarget section */ 159 | 00E356ED1AD99517003FC87E /* RNHaptikTests */ = { 160 | isa = PBXNativeTarget; 161 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNHaptikTests" */; 162 | buildPhases = ( 163 | 9D695737F951F86B797DA622 /* [CP] Check Pods Manifest.lock */, 164 | 00E356EA1AD99517003FC87E /* Sources */, 165 | 00E356EB1AD99517003FC87E /* Frameworks */, 166 | 00E356EC1AD99517003FC87E /* Resources */, 167 | CA6701C25B5BC13B8179905A /* [CP] Embed Pods Frameworks */, 168 | 0C908E0977C10D9E50CAA44B /* [CP] Copy Pods Resources */, 169 | ); 170 | buildRules = ( 171 | ); 172 | dependencies = ( 173 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 174 | ); 175 | name = RNHaptikTests; 176 | productName = RNHaptikTests; 177 | productReference = 00E356EE1AD99517003FC87E /* RNHaptikTests.xctest */; 178 | productType = "com.apple.product-type.bundle.unit-test"; 179 | }; 180 | 13B07F861A680F5B00A75B9A /* RNHaptik */ = { 181 | isa = PBXNativeTarget; 182 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNHaptik" */; 183 | buildPhases = ( 184 | 1638EE132E42FD518381AB0D /* [CP] Check Pods Manifest.lock */, 185 | FD10A7F022414F080027D42C /* Start Packager */, 186 | 13B07F871A680F5B00A75B9A /* Sources */, 187 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 188 | 13B07F8E1A680F5B00A75B9A /* Resources */, 189 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 190 | 77AF70B266062D5D6D703864 /* [CP] Embed Pods Frameworks */, 191 | CB6544C6DDEFA6B05921CB19 /* [CP] Copy Pods Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | ); 197 | name = RNHaptik; 198 | productName = RNHaptik; 199 | productReference = 13B07F961A680F5B00A75B9A /* RNHaptik.app */; 200 | productType = "com.apple.product-type.application"; 201 | }; 202 | /* End PBXNativeTarget section */ 203 | 204 | /* Begin PBXProject section */ 205 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 206 | isa = PBXProject; 207 | attributes = { 208 | LastUpgradeCheck = 1210; 209 | TargetAttributes = { 210 | 00E356ED1AD99517003FC87E = { 211 | CreatedOnToolsVersion = 6.2; 212 | TestTargetID = 13B07F861A680F5B00A75B9A; 213 | }; 214 | 13B07F861A680F5B00A75B9A = { 215 | LastSwiftMigration = 1120; 216 | }; 217 | }; 218 | }; 219 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNHaptik" */; 220 | compatibilityVersion = "Xcode 12.0"; 221 | developmentRegion = en; 222 | hasScannedForEncodings = 0; 223 | knownRegions = ( 224 | en, 225 | Base, 226 | ); 227 | mainGroup = 83CBB9F61A601CBA00E9B192; 228 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 229 | projectDirPath = ""; 230 | projectRoot = ""; 231 | targets = ( 232 | 13B07F861A680F5B00A75B9A /* RNHaptik */, 233 | 00E356ED1AD99517003FC87E /* RNHaptikTests */, 234 | ); 235 | }; 236 | /* End PBXProject section */ 237 | 238 | /* Begin PBXResourcesBuildPhase section */ 239 | 00E356EC1AD99517003FC87E /* Resources */ = { 240 | isa = PBXResourcesBuildPhase; 241 | buildActionMask = 2147483647; 242 | files = ( 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 247 | isa = PBXResourcesBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, 251 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 252 | ); 253 | runOnlyForDeploymentPostprocessing = 0; 254 | }; 255 | /* End PBXResourcesBuildPhase section */ 256 | 257 | /* Begin PBXShellScriptBuildPhase section */ 258 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 259 | isa = PBXShellScriptBuildPhase; 260 | buildActionMask = 2147483647; 261 | files = ( 262 | ); 263 | inputPaths = ( 264 | ); 265 | name = "Bundle React Native code and images"; 266 | outputPaths = ( 267 | ); 268 | runOnlyForDeploymentPostprocessing = 0; 269 | shellPath = /bin/sh; 270 | shellScript = "set -e\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; 271 | }; 272 | 0C908E0977C10D9E50CAA44B /* [CP] Copy Pods Resources */ = { 273 | isa = PBXShellScriptBuildPhase; 274 | buildActionMask = 2147483647; 275 | files = ( 276 | ); 277 | inputFileListPaths = ( 278 | "${PODS_ROOT}/Target Support Files/Pods-RNHaptik-RNHaptikTests/Pods-RNHaptik-RNHaptikTests-resources-${CONFIGURATION}-input-files.xcfilelist", 279 | ); 280 | name = "[CP] Copy Pods Resources"; 281 | outputFileListPaths = ( 282 | "${PODS_ROOT}/Target Support Files/Pods-RNHaptik-RNHaptikTests/Pods-RNHaptik-RNHaptikTests-resources-${CONFIGURATION}-output-files.xcfilelist", 283 | ); 284 | runOnlyForDeploymentPostprocessing = 0; 285 | shellPath = /bin/sh; 286 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNHaptik-RNHaptikTests/Pods-RNHaptik-RNHaptikTests-resources.sh\"\n"; 287 | showEnvVarsInLog = 0; 288 | }; 289 | 1638EE132E42FD518381AB0D /* [CP] Check Pods Manifest.lock */ = { 290 | isa = PBXShellScriptBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | ); 294 | inputFileListPaths = ( 295 | ); 296 | inputPaths = ( 297 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 298 | "${PODS_ROOT}/Manifest.lock", 299 | ); 300 | name = "[CP] Check Pods Manifest.lock"; 301 | outputFileListPaths = ( 302 | ); 303 | outputPaths = ( 304 | "$(DERIVED_FILE_DIR)/Pods-RNHaptik-checkManifestLockResult.txt", 305 | ); 306 | runOnlyForDeploymentPostprocessing = 0; 307 | shellPath = /bin/sh; 308 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 309 | showEnvVarsInLog = 0; 310 | }; 311 | 77AF70B266062D5D6D703864 /* [CP] Embed Pods Frameworks */ = { 312 | isa = PBXShellScriptBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | ); 316 | inputFileListPaths = ( 317 | "${PODS_ROOT}/Target Support Files/Pods-RNHaptik/Pods-RNHaptik-frameworks-${CONFIGURATION}-input-files.xcfilelist", 318 | ); 319 | name = "[CP] Embed Pods Frameworks"; 320 | outputFileListPaths = ( 321 | "${PODS_ROOT}/Target Support Files/Pods-RNHaptik/Pods-RNHaptik-frameworks-${CONFIGURATION}-output-files.xcfilelist", 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | shellPath = /bin/sh; 325 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNHaptik/Pods-RNHaptik-frameworks.sh\"\n"; 326 | showEnvVarsInLog = 0; 327 | }; 328 | 9D695737F951F86B797DA622 /* [CP] Check Pods Manifest.lock */ = { 329 | isa = PBXShellScriptBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | ); 333 | inputFileListPaths = ( 334 | ); 335 | inputPaths = ( 336 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 337 | "${PODS_ROOT}/Manifest.lock", 338 | ); 339 | name = "[CP] Check Pods Manifest.lock"; 340 | outputFileListPaths = ( 341 | ); 342 | outputPaths = ( 343 | "$(DERIVED_FILE_DIR)/Pods-RNHaptik-RNHaptikTests-checkManifestLockResult.txt", 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | shellPath = /bin/sh; 347 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 348 | showEnvVarsInLog = 0; 349 | }; 350 | CA6701C25B5BC13B8179905A /* [CP] Embed Pods Frameworks */ = { 351 | isa = PBXShellScriptBuildPhase; 352 | buildActionMask = 2147483647; 353 | files = ( 354 | ); 355 | inputFileListPaths = ( 356 | "${PODS_ROOT}/Target Support Files/Pods-RNHaptik-RNHaptikTests/Pods-RNHaptik-RNHaptikTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", 357 | ); 358 | name = "[CP] Embed Pods Frameworks"; 359 | outputFileListPaths = ( 360 | "${PODS_ROOT}/Target Support Files/Pods-RNHaptik-RNHaptikTests/Pods-RNHaptik-RNHaptikTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", 361 | ); 362 | runOnlyForDeploymentPostprocessing = 0; 363 | shellPath = /bin/sh; 364 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNHaptik-RNHaptikTests/Pods-RNHaptik-RNHaptikTests-frameworks.sh\"\n"; 365 | showEnvVarsInLog = 0; 366 | }; 367 | CB6544C6DDEFA6B05921CB19 /* [CP] Copy Pods Resources */ = { 368 | isa = PBXShellScriptBuildPhase; 369 | buildActionMask = 2147483647; 370 | files = ( 371 | ); 372 | inputFileListPaths = ( 373 | "${PODS_ROOT}/Target Support Files/Pods-RNHaptik/Pods-RNHaptik-resources-${CONFIGURATION}-input-files.xcfilelist", 374 | ); 375 | name = "[CP] Copy Pods Resources"; 376 | outputFileListPaths = ( 377 | "${PODS_ROOT}/Target Support Files/Pods-RNHaptik/Pods-RNHaptik-resources-${CONFIGURATION}-output-files.xcfilelist", 378 | ); 379 | runOnlyForDeploymentPostprocessing = 0; 380 | shellPath = /bin/sh; 381 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNHaptik/Pods-RNHaptik-resources.sh\"\n"; 382 | showEnvVarsInLog = 0; 383 | }; 384 | FD10A7F022414F080027D42C /* Start Packager */ = { 385 | isa = PBXShellScriptBuildPhase; 386 | buildActionMask = 2147483647; 387 | files = ( 388 | ); 389 | inputFileListPaths = ( 390 | ); 391 | inputPaths = ( 392 | ); 393 | name = "Start Packager"; 394 | outputFileListPaths = ( 395 | ); 396 | outputPaths = ( 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | shellPath = /bin/sh; 400 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 401 | showEnvVarsInLog = 0; 402 | }; 403 | /* End PBXShellScriptBuildPhase section */ 404 | 405 | /* Begin PBXSourcesBuildPhase section */ 406 | 00E356EA1AD99517003FC87E /* Sources */ = { 407 | isa = PBXSourcesBuildPhase; 408 | buildActionMask = 2147483647; 409 | files = ( 410 | 00E356F31AD99517003FC87E /* RNHaptikTests.m in Sources */, 411 | ); 412 | runOnlyForDeploymentPostprocessing = 0; 413 | }; 414 | 13B07F871A680F5B00A75B9A /* Sources */ = { 415 | isa = PBXSourcesBuildPhase; 416 | buildActionMask = 2147483647; 417 | files = ( 418 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 419 | 5B63103027E36026006ED12D /* GlobalManager.m in Sources */, 420 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 421 | ); 422 | runOnlyForDeploymentPostprocessing = 0; 423 | }; 424 | /* End PBXSourcesBuildPhase section */ 425 | 426 | /* Begin PBXTargetDependency section */ 427 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 428 | isa = PBXTargetDependency; 429 | target = 13B07F861A680F5B00A75B9A /* RNHaptik */; 430 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 431 | }; 432 | /* End PBXTargetDependency section */ 433 | 434 | /* Begin XCBuildConfiguration section */ 435 | 00E356F61AD99517003FC87E /* Debug */ = { 436 | isa = XCBuildConfiguration; 437 | baseConfigurationReference = E2FADB6CF3D2A1D348C27C37 /* Pods-RNHaptik-RNHaptikTests.debug.xcconfig */; 438 | buildSettings = { 439 | BUNDLE_LOADER = "$(TEST_HOST)"; 440 | GCC_PREPROCESSOR_DEFINITIONS = ( 441 | "DEBUG=1", 442 | "$(inherited)", 443 | ); 444 | INFOPLIST_FILE = RNHaptikTests/Info.plist; 445 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 446 | LD_RUNPATH_SEARCH_PATHS = ( 447 | "$(inherited)", 448 | "@executable_path/Frameworks", 449 | "@loader_path/Frameworks", 450 | ); 451 | OTHER_LDFLAGS = ( 452 | "-ObjC", 453 | "-lc++", 454 | "$(inherited)", 455 | ); 456 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 457 | PRODUCT_NAME = "$(TARGET_NAME)"; 458 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNHaptik.app/RNHaptik"; 459 | }; 460 | name = Debug; 461 | }; 462 | 00E356F71AD99517003FC87E /* Release */ = { 463 | isa = XCBuildConfiguration; 464 | baseConfigurationReference = 4ADCF37BF06152A5AD07723F /* Pods-RNHaptik-RNHaptikTests.release.xcconfig */; 465 | buildSettings = { 466 | BUNDLE_LOADER = "$(TEST_HOST)"; 467 | COPY_PHASE_STRIP = NO; 468 | INFOPLIST_FILE = RNHaptikTests/Info.plist; 469 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 470 | LD_RUNPATH_SEARCH_PATHS = ( 471 | "$(inherited)", 472 | "@executable_path/Frameworks", 473 | "@loader_path/Frameworks", 474 | ); 475 | OTHER_LDFLAGS = ( 476 | "-ObjC", 477 | "-lc++", 478 | "$(inherited)", 479 | ); 480 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 481 | PRODUCT_NAME = "$(TARGET_NAME)"; 482 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNHaptik.app/RNHaptik"; 483 | }; 484 | name = Release; 485 | }; 486 | 13B07F941A680F5B00A75B9A /* Debug */ = { 487 | isa = XCBuildConfiguration; 488 | baseConfigurationReference = 0F491D151ED37885ECC4FDFE /* Pods-RNHaptik.debug.xcconfig */; 489 | buildSettings = { 490 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 491 | CLANG_ENABLE_MODULES = YES; 492 | CURRENT_PROJECT_VERSION = 1; 493 | DEVELOPMENT_TEAM = 6XRM8VPKS9; 494 | ENABLE_BITCODE = NO; 495 | INFOPLIST_FILE = RNHaptik/Info.plist; 496 | LD_RUNPATH_SEARCH_PATHS = ( 497 | "$(inherited)", 498 | "@executable_path/Frameworks", 499 | ); 500 | OTHER_LDFLAGS = ( 501 | "$(inherited)", 502 | "-ObjC", 503 | "-lc++", 504 | ); 505 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 506 | PRODUCT_NAME = RNHaptik; 507 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 508 | SWIFT_VERSION = 5.0; 509 | VERSIONING_SYSTEM = "apple-generic"; 510 | }; 511 | name = Debug; 512 | }; 513 | 13B07F951A680F5B00A75B9A /* Release */ = { 514 | isa = XCBuildConfiguration; 515 | baseConfigurationReference = B6AFEF8587B1CCB37330C277 /* Pods-RNHaptik.release.xcconfig */; 516 | buildSettings = { 517 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 518 | CLANG_ENABLE_MODULES = YES; 519 | CURRENT_PROJECT_VERSION = 1; 520 | DEVELOPMENT_TEAM = 6XRM8VPKS9; 521 | INFOPLIST_FILE = RNHaptik/Info.plist; 522 | LD_RUNPATH_SEARCH_PATHS = ( 523 | "$(inherited)", 524 | "@executable_path/Frameworks", 525 | ); 526 | OTHER_LDFLAGS = ( 527 | "$(inherited)", 528 | "-ObjC", 529 | "-lc++", 530 | ); 531 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 532 | PRODUCT_NAME = RNHaptik; 533 | SWIFT_VERSION = 5.0; 534 | VERSIONING_SYSTEM = "apple-generic"; 535 | }; 536 | name = Release; 537 | }; 538 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 539 | isa = XCBuildConfiguration; 540 | buildSettings = { 541 | ALWAYS_SEARCH_USER_PATHS = NO; 542 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 543 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 544 | CLANG_CXX_LIBRARY = "libc++"; 545 | CLANG_ENABLE_MODULES = YES; 546 | CLANG_ENABLE_OBJC_ARC = YES; 547 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 548 | CLANG_WARN_BOOL_CONVERSION = YES; 549 | CLANG_WARN_COMMA = YES; 550 | CLANG_WARN_CONSTANT_CONVERSION = YES; 551 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 552 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 553 | CLANG_WARN_EMPTY_BODY = YES; 554 | CLANG_WARN_ENUM_CONVERSION = YES; 555 | CLANG_WARN_INFINITE_RECURSION = YES; 556 | CLANG_WARN_INT_CONVERSION = YES; 557 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 558 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 559 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 560 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 561 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 562 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 563 | CLANG_WARN_STRICT_PROTOTYPES = YES; 564 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 565 | CLANG_WARN_UNREACHABLE_CODE = YES; 566 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 567 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 568 | COPY_PHASE_STRIP = NO; 569 | ENABLE_STRICT_OBJC_MSGSEND = YES; 570 | ENABLE_TESTABILITY = YES; 571 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; 572 | GCC_C_LANGUAGE_STANDARD = gnu99; 573 | GCC_DYNAMIC_NO_PIC = NO; 574 | GCC_NO_COMMON_BLOCKS = YES; 575 | GCC_OPTIMIZATION_LEVEL = 0; 576 | GCC_PREPROCESSOR_DEFINITIONS = ( 577 | "DEBUG=1", 578 | "$(inherited)", 579 | ); 580 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 581 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 582 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 583 | GCC_WARN_UNDECLARED_SELECTOR = YES; 584 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 585 | GCC_WARN_UNUSED_FUNCTION = YES; 586 | GCC_WARN_UNUSED_VARIABLE = YES; 587 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 588 | LD_RUNPATH_SEARCH_PATHS = ( 589 | /usr/lib/swift, 590 | "$(inherited)", 591 | ); 592 | LIBRARY_SEARCH_PATHS = ( 593 | "\"$(SDKROOT)/usr/lib/swift\"", 594 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 595 | "\"$(inherited)\"", 596 | ); 597 | MTL_ENABLE_DEBUG_INFO = YES; 598 | ONLY_ACTIVE_ARCH = YES; 599 | SDKROOT = iphoneos; 600 | }; 601 | name = Debug; 602 | }; 603 | 83CBBA211A601CBA00E9B192 /* Release */ = { 604 | isa = XCBuildConfiguration; 605 | buildSettings = { 606 | ALWAYS_SEARCH_USER_PATHS = NO; 607 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 608 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 609 | CLANG_CXX_LIBRARY = "libc++"; 610 | CLANG_ENABLE_MODULES = YES; 611 | CLANG_ENABLE_OBJC_ARC = YES; 612 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 613 | CLANG_WARN_BOOL_CONVERSION = YES; 614 | CLANG_WARN_COMMA = YES; 615 | CLANG_WARN_CONSTANT_CONVERSION = YES; 616 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 617 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 618 | CLANG_WARN_EMPTY_BODY = YES; 619 | CLANG_WARN_ENUM_CONVERSION = YES; 620 | CLANG_WARN_INFINITE_RECURSION = YES; 621 | CLANG_WARN_INT_CONVERSION = YES; 622 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 623 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 624 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 625 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 626 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 627 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 628 | CLANG_WARN_STRICT_PROTOTYPES = YES; 629 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 630 | CLANG_WARN_UNREACHABLE_CODE = YES; 631 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 632 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 633 | COPY_PHASE_STRIP = YES; 634 | ENABLE_NS_ASSERTIONS = NO; 635 | ENABLE_STRICT_OBJC_MSGSEND = YES; 636 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; 637 | GCC_C_LANGUAGE_STANDARD = gnu99; 638 | GCC_NO_COMMON_BLOCKS = YES; 639 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 640 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 641 | GCC_WARN_UNDECLARED_SELECTOR = YES; 642 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 643 | GCC_WARN_UNUSED_FUNCTION = YES; 644 | GCC_WARN_UNUSED_VARIABLE = YES; 645 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 646 | LD_RUNPATH_SEARCH_PATHS = ( 647 | /usr/lib/swift, 648 | "$(inherited)", 649 | ); 650 | LIBRARY_SEARCH_PATHS = ( 651 | "\"$(SDKROOT)/usr/lib/swift\"", 652 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 653 | "\"$(inherited)\"", 654 | ); 655 | MTL_ENABLE_DEBUG_INFO = NO; 656 | SDKROOT = iphoneos; 657 | VALIDATE_PRODUCT = YES; 658 | }; 659 | name = Release; 660 | }; 661 | /* End XCBuildConfiguration section */ 662 | 663 | /* Begin XCConfigurationList section */ 664 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNHaptikTests" */ = { 665 | isa = XCConfigurationList; 666 | buildConfigurations = ( 667 | 00E356F61AD99517003FC87E /* Debug */, 668 | 00E356F71AD99517003FC87E /* Release */, 669 | ); 670 | defaultConfigurationIsVisible = 0; 671 | defaultConfigurationName = Release; 672 | }; 673 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNHaptik" */ = { 674 | isa = XCConfigurationList; 675 | buildConfigurations = ( 676 | 13B07F941A680F5B00A75B9A /* Debug */, 677 | 13B07F951A680F5B00A75B9A /* Release */, 678 | ); 679 | defaultConfigurationIsVisible = 0; 680 | defaultConfigurationName = Release; 681 | }; 682 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNHaptik" */ = { 683 | isa = XCConfigurationList; 684 | buildConfigurations = ( 685 | 83CBBA201A601CBA00E9B192 /* Debug */, 686 | 83CBBA211A601CBA00E9B192 /* Release */, 687 | ); 688 | defaultConfigurationIsVisible = 0; 689 | defaultConfigurationName = Release; 690 | }; 691 | /* End XCConfigurationList section */ 692 | }; 693 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 694 | } 695 | --------------------------------------------------------------------------------