Skip to content

Commit 87d4be1

Browse files
chore: Create sandbox sample app to test push notifications (#184)
* chore: Create Push Notifications sandbox * fix: docs * fix: renaming
1 parent d383474 commit 87d4be1

File tree

75 files changed

+11296
-125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+11296
-125
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ android/keystores/debug.keystore
6060
lib/
6161

6262
.env
63+
google-services.json

example/ios/IntercomReactNativeExample.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@
519519
CURRENT_PROJECT_VERSION = 1;
520520
ENABLE_BITCODE = NO;
521521
INFOPLIST_FILE = IntercomReactNativeExample/Info.plist;
522-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
522+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
523523
LD_RUNPATH_SEARCH_PATHS = (
524524
"$(inherited)",
525525
"@executable_path/Frameworks",
@@ -554,7 +554,7 @@
554554
CURRENT_PROJECT_VERSION = 1;
555555
DEVELOPMENT_TEAM = "";
556556
INFOPLIST_FILE = IntercomReactNativeExample/Info.plist;
557-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
557+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
558558
LD_RUNPATH_SEARCH_PATHS = (
559559
"$(inherited)",
560560
"@executable_path/Frameworks",

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ target 'IntercomReactNativeExample' do
1818
#
1919
# Note that if you have use_frameworks! enabled, Flipper will not work and
2020
# you should disable the next line.
21-
use_flipper!( )
21+
# use_flipper!( )
2222

2323
post_install do |installer|
2424
react_native_post_install(installer)

example/ios/Podfile.lock

Lines changed: 2 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
PODS:
22
- boost (1.76.0)
3-
- CocoaAsyncSocket (7.6.5)
43
- DoubleConversion (1.1.6)
54
- FBLazyVector (0.70.9)
65
- FBReactNativeSpec (0.70.9):
@@ -10,75 +9,12 @@ PODS:
109
- React-Core (= 0.70.9)
1110
- React-jsi (= 0.70.9)
1211
- ReactCommon/turbomodule/core (= 0.70.9)
13-
- Flipper (0.125.0):
14-
- Flipper-Folly (~> 2.6)
15-
- Flipper-RSocket (~> 1.4)
16-
- Flipper-Boost-iOSX (1.76.0.1.11)
17-
- Flipper-DoubleConversion (3.2.0.1)
18-
- Flipper-Fmt (7.1.7)
19-
- Flipper-Folly (2.6.10):
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.1100)
26-
- Flipper-Glog (0.5.0.5)
27-
- Flipper-PeerTalk (0.0.4)
28-
- Flipper-RSocket (1.4.3):
29-
- Flipper-Folly (~> 2.6)
30-
- FlipperKit (0.125.0):
31-
- FlipperKit/Core (= 0.125.0)
32-
- FlipperKit/Core (0.125.0):
33-
- Flipper (~> 0.125.0)
34-
- FlipperKit/CppBridge
35-
- FlipperKit/FBCxxFollyDynamicConvert
36-
- FlipperKit/FBDefines
37-
- FlipperKit/FKPortForwarding
38-
- SocketRocket (~> 0.6.0)
39-
- FlipperKit/CppBridge (0.125.0):
40-
- Flipper (~> 0.125.0)
41-
- FlipperKit/FBCxxFollyDynamicConvert (0.125.0):
42-
- Flipper-Folly (~> 2.6)
43-
- FlipperKit/FBDefines (0.125.0)
44-
- FlipperKit/FKPortForwarding (0.125.0):
45-
- CocoaAsyncSocket (~> 7.6)
46-
- Flipper-PeerTalk (~> 0.0.4)
47-
- FlipperKit/FlipperKitHighlightOverlay (0.125.0)
48-
- FlipperKit/FlipperKitLayoutHelpers (0.125.0):
49-
- FlipperKit/Core
50-
- FlipperKit/FlipperKitHighlightOverlay
51-
- FlipperKit/FlipperKitLayoutTextSearchable
52-
- FlipperKit/FlipperKitLayoutIOSDescriptors (0.125.0):
53-
- FlipperKit/Core
54-
- FlipperKit/FlipperKitHighlightOverlay
55-
- FlipperKit/FlipperKitLayoutHelpers
56-
- YogaKit (~> 1.18)
57-
- FlipperKit/FlipperKitLayoutPlugin (0.125.0):
58-
- FlipperKit/Core
59-
- FlipperKit/FlipperKitHighlightOverlay
60-
- FlipperKit/FlipperKitLayoutHelpers
61-
- FlipperKit/FlipperKitLayoutIOSDescriptors
62-
- FlipperKit/FlipperKitLayoutTextSearchable
63-
- YogaKit (~> 1.18)
64-
- FlipperKit/FlipperKitLayoutTextSearchable (0.125.0)
65-
- FlipperKit/FlipperKitNetworkPlugin (0.125.0):
66-
- FlipperKit/Core
67-
- FlipperKit/FlipperKitReactPlugin (0.125.0):
68-
- FlipperKit/Core
69-
- FlipperKit/FlipperKitUserDefaultsPlugin (0.125.0):
70-
- FlipperKit/Core
71-
- FlipperKit/SKIOSNetworkPlugin (0.125.0):
72-
- FlipperKit/Core
73-
- FlipperKit/FlipperKitNetworkPlugin
7412
- fmt (6.2.1)
7513
- glog (0.3.5)
7614
- Intercom (17.0.1)
7715
- intercom-react-native (7.0.1):
7816
- Intercom (~> 17.0.1)
7917
- React-Core
80-
- libevent (2.1.12)
81-
- OpenSSL-Universal (1.1.1100)
8218
- RCT-Folly (2021.07.22.00):
8319
- boost
8420
- DoubleConversion
@@ -360,40 +296,15 @@ PODS:
360296
- React-perflogger (= 0.70.9)
361297
- RNCAsyncStorage (1.18.1):
362298
- React-Core
363-
- SocketRocket (0.6.1)
364299
- Yoga (1.14.0)
365-
- YogaKit (1.18.1):
366-
- Yoga (~> 1.14)
367300

368301
DEPENDENCIES:
369302
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
370303
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
371304
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
372305
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
373-
- Flipper (= 0.125.0)
374-
- Flipper-Boost-iOSX (= 1.76.0.1.11)
375-
- Flipper-DoubleConversion (= 3.2.0.1)
376-
- Flipper-Fmt (= 7.1.7)
377-
- Flipper-Folly (= 2.6.10)
378-
- Flipper-Glog (= 0.5.0.5)
379-
- Flipper-PeerTalk (= 0.0.4)
380-
- Flipper-RSocket (= 1.4.3)
381-
- FlipperKit (= 0.125.0)
382-
- FlipperKit/Core (= 0.125.0)
383-
- FlipperKit/CppBridge (= 0.125.0)
384-
- FlipperKit/FBCxxFollyDynamicConvert (= 0.125.0)
385-
- FlipperKit/FBDefines (= 0.125.0)
386-
- FlipperKit/FKPortForwarding (= 0.125.0)
387-
- FlipperKit/FlipperKitHighlightOverlay (= 0.125.0)
388-
- FlipperKit/FlipperKitLayoutPlugin (= 0.125.0)
389-
- FlipperKit/FlipperKitLayoutTextSearchable (= 0.125.0)
390-
- FlipperKit/FlipperKitNetworkPlugin (= 0.125.0)
391-
- FlipperKit/FlipperKitReactPlugin (= 0.125.0)
392-
- FlipperKit/FlipperKitUserDefaultsPlugin (= 0.125.0)
393-
- FlipperKit/SKIOSNetworkPlugin (= 0.125.0)
394306
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
395307
- intercom-react-native (from `../..`)
396-
- OpenSSL-Universal (= 1.1.1100)
397308
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
398309
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
399310
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
@@ -427,22 +338,8 @@ DEPENDENCIES:
427338

428339
SPEC REPOS:
429340
trunk:
430-
- CocoaAsyncSocket
431-
- Flipper
432-
- Flipper-Boost-iOSX
433-
- Flipper-DoubleConversion
434-
- Flipper-Fmt
435-
- Flipper-Folly
436-
- Flipper-Glog
437-
- Flipper-PeerTalk
438-
- Flipper-RSocket
439-
- FlipperKit
440341
- fmt
441342
- Intercom
442-
- libevent
443-
- OpenSSL-Universal
444-
- SocketRocket
445-
- YogaKit
446343

447344
EXTERNAL SOURCES:
448345
boost:
@@ -518,25 +415,13 @@ EXTERNAL SOURCES:
518415

519416
SPEC CHECKSUMS:
520417
boost: a7c83b31436843459a1961bfd74b96033dc77234
521-
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
522418
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
523419
FBLazyVector: bc76253beb7463b688aa6af913b822ed631de31a
524420
FBReactNativeSpec: 85d34420d92cb178897de05e3aba90e7a8568162
525-
Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0
526-
Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c
527-
Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30
528-
Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b
529-
Flipper-Folly: 584845625005ff068a6ebf41f857f468decd26b3
530-
Flipper-Glog: 70c50ce58ddaf67dc35180db05f191692570f446
531-
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
532-
Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541
533-
FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86
534421
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
535422
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
536423
Intercom: 5831c20294923498621a52064ab11d1ebb39f0a3
537424
intercom-react-native: 9cf6e7039c1025ac29af506286b7388f3244cc40
538-
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
539-
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
540425
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
541426
RCTRequired: db184d894eed9e15f1fa80c3372595b7ec360580
542427
RCTTypeSafety: c9bf4c53ad246e4c94a49d91353ed19a8df5952f
@@ -565,10 +450,8 @@ SPEC CHECKSUMS:
565450
React-runtimeexecutor: ed23be8c1e02b73e7e2f88ac7eaab8faf6961a38
566451
ReactCommon: 153bd73ed963731a8e3e7f03a747b353fed7363e
567452
RNCAsyncStorage: b90b71f45b8b97be43bc4284e71a6af48ac9f547
568-
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
569453
Yoga: dc109b79db907f0f589fc423e991b09ec42d2295
570-
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
571454

572-
PODFILE CHECKSUM: 02dddd4ff6ebb5deb0a57503aca62dbf76926aa1
455+
PODFILE CHECKSUM: 2e2a1a7753285b8f776febc4de8313b2f01b551b
573456

574-
COCOAPODS: 1.12.1
457+
COCOAPODS: 1.15.2

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"preset": "react-native",
8282
"modulePathIgnorePatterns": [
8383
"<rootDir>/example/node_modules",
84+
"<rootDir>/sandboxes/node_modules",
8485
"<rootDir>/lib/"
8586
]
8687
},
@@ -111,7 +112,8 @@
111112
},
112113
"eslintIgnore": [
113114
"node_modules/",
114-
"lib/"
115+
"lib/",
116+
"sandboxes/"
115117
],
116118
"prettier": {
117119
"quoteProps": "consistent",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BUNDLE_PATH: "vendor/bundle"
2+
BUNDLE_FORCE_RUBY_PLATFORM: 1
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@react-native',
4+
};
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
ios/.xcode.env.local
24+
25+
# Android/IntelliJ
26+
#
27+
build/
28+
.idea
29+
.gradle
30+
local.properties
31+
*.iml
32+
*.hprof
33+
.cxx/
34+
*.keystore
35+
!debug.keystore
36+
37+
# node.js
38+
#
39+
node_modules/
40+
npm-debug.log
41+
yarn-error.log
42+
43+
# fastlane
44+
#
45+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
46+
# screenshots whenever they are needed.
47+
# For more information about the recommended setup visit:
48+
# https://docs.fastlane.tools/best-practices/source-control/
49+
50+
**/fastlane/report.xml
51+
**/fastlane/Preview.html
52+
**/fastlane/screenshots
53+
**/fastlane/test_output
54+
55+
# Bundle artifact
56+
*.jsbundle
57+
58+
# Ruby / CocoaPods
59+
/ios/Pods/
60+
/vendor/bundle/
61+
62+
# Temporary files created by Metro to check the health of the file watcher
63+
.metro-health-check*
64+
65+
# testing
66+
/coverage
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
arrowParens: 'avoid',
3+
bracketSameLine: true,
4+
bracketSpacing: false,
5+
singleQuote: true,
6+
trailingComma: 'all',
7+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)