Skip to content

Commit

Permalink
remove preinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 committed Aug 14, 2024
1 parent c5fda9a commit c9534a4
Show file tree
Hide file tree
Showing 8 changed files with 4,304 additions and 3,567 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-sample-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ jobs:
run: yarn install --frozen-lockfile
working-directory: .

- name: Run preinstall script for sample app
run: npm run preinstall

- name: Install dependencies for sample app
run: yarn install --frozen-lockfile

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test

on: [push, pull_request]
on: [pull_request]

jobs:
test-deploy:
Expand Down
6 changes: 6 additions & 0 deletions Apps/FCM/ios/Env.swift.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import Foundation

class Env {
static let siteId: String = "YourSiteId"
static let apiKey: String = "YourApiKey"
}
4 changes: 4 additions & 0 deletions Apps/FCM/ios/FCMSampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
8F8073D78B0A26B1024DD325 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 21CB349B18CDFBA482CAC088 /* PrivacyInfo.xcprivacy */; };
9DA36DA5674906001B6B8816 /* libPods-NotificationServiceExtension.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C44FD0B29E6772EAAA210531 /* libPods-NotificationServiceExtension.a */; };
A79D2FFB2A85125E00B19C94 /* NotificationService.m in Sources */ = {isa = PBXBuildFile; fileRef = A79D2FFA2A85125E00B19C94 /* NotificationService.m */; };
A79D2FFF2A85125E00B19C94 /* NotificationServiceExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = A79D2FF72A85125E00B19C94 /* NotificationServiceExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
Expand Down Expand Up @@ -53,6 +54,7 @@
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FCMSampleApp/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = FCMSampleApp/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = FCMSampleApp/main.m; sourceTree = "<group>"; };
21CB349B18CDFBA482CAC088 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = FCMSampleApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = FCMSampleApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
978D8FC5D387867283B99285 /* libPods-FCMSampleApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-FCMSampleApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
A79D2FF22A85124800B19C94 /* FCMSampleApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = FCMSampleApp.entitlements; path = FCMSampleApp/FCMSampleApp.entitlements; sourceTree = "<group>"; };
Expand Down Expand Up @@ -106,6 +108,7 @@
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
13B07FB71A68108700A75B9A /* main.m */,
A79D30092A85144700B19C94 /* MyAppPushNotificationsHandler.swift */,
21CB349B18CDFBA482CAC088 /* PrivacyInfo.xcprivacy */,
);
name = FCMSampleApp;
sourceTree = "<group>";
Expand Down Expand Up @@ -267,6 +270,7 @@
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
A79D300E2A852B9B00B19C94 /* GoogleService-Info.plist in Resources */,
8F8073D78B0A26B1024DD325 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
47 changes: 47 additions & 0 deletions Apps/FCM/ios/FCMSampleApp/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
<string>1C8F.1</string>
<string>C56D.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>85F4.1</string>
</array>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
Loading

0 comments on commit c9534a4

Please sign in to comment.