Skip to content

Commit a3a3d4b

Browse files
TheBuggedYRNymabdallah
authored andcommitted
[MOB-11633] Revamp Example (#899)
A whole revamping base for our new example app. This PR is the base for upcoming PRs that will enhance the example app and add more features. Notables changes: 1. Rename Native Android and iOS projects to InstabugExample. 2. Rename app display name to Instabug - React Native. 3. Use NativeBase for components and theming. 4. Remove Unnecessary Files. 5. Add stack navigation. 6. Use new app token for an app created on "Mobile SDK" dashboard. 7. Add new scripts to ease interacting with example app from root directory: - yarn pods: installs pods inside the example app. - yarn example <script>: runs a give script inside example directory (e.g. yarn example android) - yarn bootstrap: installs all dependencies, including pods.
1 parent ebb1a5b commit a3a3d4b

File tree

77 files changed

+1721
-1230
lines changed

Some content is hidden

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

77 files changed

+1721
-1230
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ jobs:
128128
working_directory: ios
129129
command: |
130130
xcodebuild -allowProvisioningUpdates \
131-
-workspace InstabugSample.xcworkspace \
132-
-scheme InstabugSample \
131+
-workspace InstabugExample.xcworkspace \
132+
-scheme InstabugExample \
133133
-resultBundlePath coverage/result.xcresult \
134134
-sdk iphonesimulator \
135135
-destination 'platform=iOS Simulator,name=iPhone 13 Pro Max,OS=15.5' \

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ android/keystores/debug.keystore
5757

5858
# Expo
5959
.expo/*
60+
61+
# Bundle artifact
62+
*.jsbundle

example/.buckconfig

Lines changed: 0 additions & 6 deletions
This file was deleted.

example/.detoxrc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"runner-config": "e2e/config.json",
44
"configurations": {
55
"ios.sim.debug": {
6-
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/InstabugSample.app",
7-
"build": "xcodebuild -workspace ios/InstabugSample.xcworkspace -scheme InstabugSample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
6+
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/InstabugExample.app",
7+
"build": "xcodebuild -workspace ios/InstabugExample.xcworkspace -scheme InstabugExample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
88
"type": "ios.simulator",
99
"name": "iPhone 13 Pro Max"
1010
},
1111
"ios.sim.release": {
12-
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/InstabugSample.app",
13-
"build": "xcodebuild -workspace ios/InstabugSample.xcworkspace -scheme InstabugSample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
12+
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/InstabugExample.app",
13+
"build": "xcodebuild -workspace ios/InstabugExample.xcworkspace -scheme InstabugExample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
1414
"type": "ios.simulator",
1515
"name": "iPhone 13 Pro Max"
1616
},

example/.flowconfig

Lines changed: 0 additions & 65 deletions
This file was deleted.

example/.gitattributes

Lines changed: 0 additions & 3 deletions
This file was deleted.

example/.gitignore

Lines changed: 0 additions & 63 deletions
This file was deleted.

example/.watchmanconfig

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/android/app/BUCK

Lines changed: 0 additions & 55 deletions
This file was deleted.

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ android {
137137
compileSdkVersion rootProject.ext.compileSdkVersion
138138

139139
defaultConfig {
140-
applicationId "com.instabugsample"
140+
applicationId "com.instabug.react.example"
141141
minSdkVersion rootProject.ext.minSdkVersion
142142
targetSdkVersion rootProject.ext.targetSdkVersion
143143
versionCode 1

0 commit comments

Comments
 (0)