Skip to content

Commit bb583f5

Browse files
nishant2718Nishant Patel
and
Nishant Patel
authored
FXIOS-1885: remove leanPlum repoWide (#8584)
remove leanPlum MMA.md doc Co-authored-by: Nishant Patel <nishantpatel@Nishants-iMac.fios-router.home>
1 parent 06023dd commit bb583f5

File tree

7 files changed

+0
-304
lines changed

7 files changed

+0
-304
lines changed

Client/Configuration/Common.xcconfig

-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ HEADER_SEARCH_PATHS = $(inherited) /Applications/Xcode.app/Contents/Developer/To
1818
INCLUDE_SETTINGS_BUNDLE = NO
1919
IPHONEOS_DEPLOYMENT_TARGET = 11.4
2020
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../../Frameworks @executable_path/Frameworks @loader_path/Frameworks
21-
LEANPLUM_APP_ID =
22-
LEANPLUM_ENVIRONMENT =
23-
LEANPLUM_KEY =
2421
MOZ_TODAY_WIDGET_SEARCH_DISPLAY_NAME = Firefox - Search
2522
OTHER_LDFLAGS = -ObjC -lxml2
2623
OTHER_SWIFT_FLAGS_common = -DMOZ_TARGET_CLIENT

Client/Frontend/Settings/AppSettingsOptions.swift

-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ class ToggleChronTabs: HiddenSetting {
569569
}
570570

571571
override var title: NSAttributedString? {
572-
// If we are running an A/B test this will also fetch the A/B test variables from leanplum. Re-open app to see the effect.
573572
let toNewStatus = currentChronStatus ? "OFF" : "ON"
574573
return NSAttributedString(string: "Debug: Toggle chronological tabs \(toNewStatus)",
575574
attributes: [NSAttributedString.Key.foregroundColor: UIColor.theme.tableView.rowText])

Dangerfile

-11
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,6 @@ changedFiles.each do |changed_file|
3030
end
3131
end
3232

33-
# Add a friendly reminder for LeanPlum
34-
changedFiles.each do |changed_file|
35-
addedLines = git.diff_for_file(changed_file).patch.lines.select{ |line| line.start_with?("+") }
36-
if addedLines.select{ |line| line.include?("LeanplumIntegration.sharedInstance.track") }.count != 0
37-
markdown("### LeanPlum checklist")
38-
markdown("- [ ] I have updated the MMA.md doc")
39-
markdown("- [ ] I have gone through the data privacy review")
40-
break
41-
end
42-
end
43-
4433
# Fail if diff contains !try or as!
4534
changedFiles.each do |changed_file|
4635
# filter out only the lines that were added

Docs/MMA.md

-230
This file was deleted.

Leanplum.json

-4
This file was deleted.

bitrise.yml

-45
Original file line numberDiff line numberDiff line change
@@ -865,35 +865,6 @@ workflows:
865865
# write your script here
866866
867867
868-
echo "Setting Leanplum environment to PRODUCTION for
869-
$BUDDYBUILD_SCHEME"
870-
871-
/usr/libexec/PlistBuddy -c "Set LeanplumAppId $LEANPLUM_APP_ID"
872-
"Client/Info.plist"
873-
874-
/usr/libexec/PlistBuddy -c "Set LeanplumProductionKey
875-
$LEANPLUM_KEY_PRODUCTION" "Client/Info.plist"
876-
877-
/usr/libexec/PlistBuddy -c "Set LeanplumDevelopmentKey
878-
$LEANPLUM_KEY_DEVELOPMENT" "Client/Info.plist"
879-
title: Leanplum Variable Setup
880-
- script@1:
881-
inputs:
882-
- content: >-
883-
#!/usr/bin/env bash
884-
885-
# fail if any commands fails
886-
887-
set -e
888-
889-
# debug log
890-
891-
set -x
892-
893-
894-
# write your script here
895-
896-
897868
echo "Setting Nimbus variables"
898869
899870
/usr/libexec/PlistBuddy -c "Set NimbusURL $NIMBUS_URL" "Client/Info.plist"
@@ -1709,22 +1680,6 @@ workflows:
17091680
inputs:
17101681
- content: |-
17111682
#!/usr/bin/env bash
1712-
# fail if any commands fails
1713-
set -e
1714-
# debug log
1715-
set -x
1716-
1717-
# write your script here
1718-
1719-
echo "Setting Leanplum environment to PRODUCTION for $BUDDYBUILD_SCHEME"
1720-
/usr/libexec/PlistBuddy -c "Set LeanplumAppId $LEANPLUM_APP_ID" "Client/Info.plist"
1721-
/usr/libexec/PlistBuddy -c "Set LeanplumProductionKey $LEANPLUM_KEY_PRODUCTION" "Client/Info.plist"
1722-
/usr/libexec/PlistBuddy -c "Set LeanplumDevelopmentKey $LEANPLUM_KEY_DEVELOPMENT" "Client/Info.plist"
1723-
title: Leanplum Variable Setup
1724-
- script@1:
1725-
inputs:
1726-
- content: |-
1727-
#!/usr/bin/env bash
17281683
17291684
# fail if any commands fails
17301685

buddybuild_prebuild.sh

-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
#!/usr/bin/env bash
22

33
bundle install
4-
#
5-
# Leanplum is included only for the Firefox and FirefoxBeta builds.
6-
#
7-
8-
if [ "$BUDDYBUILD_SCHEME" = "Firefox" ] || [ "$BUDDYBUILD_SCHEME" = "FirefoxBeta" ]; then
9-
echo "Setting Leanplum environment to PRODUCTION for $BUDDYBUILD_SCHEME"
10-
/usr/libexec/PlistBuddy -c "Set LeanplumAppId $LEANPLUM_APP_ID" "Client/Info.plist"
11-
/usr/libexec/PlistBuddy -c "Set LeanplumProductionKey $LEANPLUM_KEY_PRODUCTION" "Client/Info.plist"
12-
/usr/libexec/PlistBuddy -c "Set LeanplumDevelopmentKey $LEANPLUM_KEY_DEVELOPMENT" "Client/Info.plist"
13-
fi
144

155
echo "Setting up Pocket Stories API Key"
166
if [ "$BUDDYBUILD_SCHEME" == Firefox ]; then

0 commit comments

Comments
 (0)