Skip to content

Commit ab6d8d8

Browse files
committed
Integrate Latest @ 192525993
Changes to analytics/testapp ... - Exposed SetMinimumSessionDuration() and SetSessionTimeoutDuration() in Analytics. Changes to dynamic_links/testapp ... - Fix Dynamic Links Unity Testapp bundle identifier in UIHandler. - Updated Dynamic Links domain for testapps. Changes to invites/testapp ... - Add documentation that invites requires having an App Store ID set. General changes ... - Remove Apple team IDs from Unity testapp project settings. CL: 192525993
1 parent f0eca57 commit ab6d8d8

File tree

14 files changed

+37
-32
lines changed

14 files changed

+37
-32
lines changed

analytics/testapp/Assets/TestApp/UIHandler.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ void InitializeFirebase() {
6969
"Google");
7070
// Set the user ID.
7171
FirebaseAnalytics.SetUserId("uber_user_510");
72+
// Set default session duration values.
73+
FirebaseAnalytics.SetMinimumSessionDuration(new TimeSpan(0, 0, 10));
74+
FirebaseAnalytics.SetSessionTimeoutDuration(new TimeSpan(0, 30, 0));
7275
firebaseInitialized = true;
7376
}
7477

analytics/testapp/ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ PlayerSettings:
165165
appleDeveloperTeamID:
166166
iOSManualSigningProvisioningProfileID:
167167
tvOSManualSigningProvisioningProfileID:
168-
appleEnableAutomaticSigning: 1
168+
appleEnableAutomaticSigning: 0
169169
AndroidTargetDevice: 0
170170
AndroidSplashScreenScale: 0
171171
androidSplashScreen: {fileID: 0}

auth/testapp/ProjectSettings/ProjectSettings.asset

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ PlayerSettings:
9494
16:10: 1
9595
16:9: 1
9696
Others: 1
97-
bundleIdentifier: com.google.firebase.unity.auth.testapp
97+
bundleIdentifier: com.google.FirebaseUnityAuthTestApp.dev
9898
bundleVersion: 1.0
9999
preloadedAssets: []
100100
metroEnableIndependentInputSource: 0
@@ -165,7 +165,7 @@ PlayerSettings:
165165
appleDeveloperTeamID:
166166
iOSManualSigningProvisioningProfileID:
167167
tvOSManualSigningProvisioningProfileID:
168-
appleEnableAutomaticSigning: 1
168+
appleEnableAutomaticSigning: 0
169169
AndroidTargetDevice: 0
170170
AndroidSplashScreenScale: 0
171171
androidSplashScreen: {fileID: 0}

auth/testapp/readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ with the
2424
- Create a project in the
2525
[Firebase console](https://firebase.google.com/console/),
2626
and associate your iOS application.
27-
- You should use `com.google.firebase.unity.auth.testapp` as the
27+
- You should use `com.google.FirebaseUnityAuthTestApp.dev` as the
2828
package name while you're testing.
2929
- If you do not use the prescribed package name you will need to update
3030
the bundle identifier as described in the
@@ -65,7 +65,7 @@ with the
6565

6666
NOTE: `GoogleService-Info.plist` can be placed anywhere in the project.
6767
- Optional: Update the Project Bundle Identifier
68-
- If you did not use `com.google.firebase.unity.auth.testapp`
68+
- If you did not use `com.google.FirebaseUnityAuthTestApp.dev`
6969
as the project package name you will need to update the sample's Bundle
7070
Identifier.
7171
- Select the `File > Build Settings` menu option.
@@ -90,7 +90,7 @@ with the
9090
- Create a project in the
9191
[Firebase console](https://firebase.google.com/console/),
9292
and attach your Android app to it.
93-
- You should use `com.google.firebase.unity.auth.testapp` as the
93+
- You should use `com.google.FirebaseUnityAuthTestApp.dev` as the
9494
package name while you're testing.
9595
- If you do not use the prescribed package name you will need to update
9696
the bundle identifier as described in the
@@ -142,7 +142,7 @@ with the
142142
143143
NOTE: `google-services.json` can be placed anywhere in the project.
144144
- Optional: Update the Project Bundle Identifier
145-
- If you did not use `com.google.firebase.unity.auth.testapp`
145+
- If you did not use `com.google.FirebaseUnityAuthTestApp.dev`
146146
as the project package name you will need to update the sample's Bundle
147147
Identifier.
148148
- Select the `File > Build Settings` menu option.

database/testapp/ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ PlayerSettings:
165165
appleDeveloperTeamID:
166166
iOSManualSigningProvisioningProfileID:
167167
tvOSManualSigningProvisioningProfileID:
168-
appleEnableAutomaticSigning: 1
168+
appleEnableAutomaticSigning: 0
169169
AndroidTargetDevice: 0
170170
AndroidSplashScreenScale: 0
171171
androidSplashScreen: {fileID: 0}

dynamic_links/testapp/Assets/TestApp/UIHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class UIHandler : MonoBehaviour {
4545

4646
// IMPORTANT: You need to set this to a valid domain from the Firebase
4747
// console (see kDynamicLinksDomainInvalidError for the details).
48-
public string kDynamicLinksDomain = "f87nv.app.goo.gl";
48+
public string kDynamicLinksDomain = "fwk68.app.goo.gl";
4949

5050
// When the app starts, check to make sure that we have
5151
// the required dependencies to use Firebase, and if not,
@@ -133,11 +133,11 @@ DynamicLinkComponents CreateDynamicLinkComponents() {
133133
Term = "myterm",
134134
Content = "mycontent"
135135
},
136-
IOSParameters = new Firebase.DynamicLinks.IOSParameters("com.myapp.bundleid") {
136+
IOSParameters = new Firebase.DynamicLinks.IOSParameters(appIdentifier) {
137137
FallbackUrl = new System.Uri("https://mysite/fallback"),
138138
CustomScheme = "mycustomscheme",
139139
MinimumVersion = "1.2.3",
140-
IPadBundleId = "com.myapp.bundleid.ipad",
140+
IPadBundleId = appIdentifier,
141141
IPadFallbackUrl = new System.Uri("https://mysite/fallbackipad")
142142
},
143143
ITunesConnectAnalyticsParameters =

dynamic_links/testapp/ProjectSettings/ProjectSettings.asset

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ PlayerSettings:
9494
16:10: 1
9595
16:9: 1
9696
Others: 1
97-
bundleIdentifier: com.google.firebase.unity.dynamiclinks.testapp
97+
bundleIdentifier: com.google.FirebaseUnityDynamicLinksTestApp.dev
9898
bundleVersion: 1.0
9999
preloadedAssets: []
100100
metroEnableIndependentInputSource: 0
@@ -165,7 +165,7 @@ PlayerSettings:
165165
appleDeveloperTeamID:
166166
iOSManualSigningProvisioningProfileID:
167167
tvOSManualSigningProvisioningProfileID:
168-
appleEnableAutomaticSigning: 1
168+
appleEnableAutomaticSigning: 0
169169
AndroidTargetDevice: 0
170170
AndroidSplashScreenScale: 0
171171
androidSplashScreen: {fileID: 0}

dynamic_links/testapp/readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ using the
2424
- Create a project in the
2525
[Firebase console](https://firebase.google.com/console/),
2626
and associate your iOS application.
27-
- You should use `com.google.firebase.unity.dynamiclinks.testapp` as the
27+
- You should use `com.google.FirebaseUnityDynamicLinksTestApp.dev` as the
2828
package name while you're testing.
2929
- If you do not use the prescribed package name you will need to update
3030
the bundle identifier as described in the
@@ -60,7 +60,7 @@ using the
6060

6161
NOTE: `GoogleService-Info.plist` can be placed anywhere in the project.
6262
- Optional: Update the Project Bundle Identifier
63-
- If you did not use `com.google.firebase.unity.dynamiclinks.testapp`
63+
- If you did not use `com.google.FirebaseUnityDynamicLinksTestApp.dev`
6464
as the project package name you will need to update the sample's Bundle
6565
Identifier.
6666
- Select the `File > Build Settings` menu option.
@@ -100,7 +100,7 @@ using the
100100
- Create a project in the
101101
[Firebase console](https://firebase.google.com/console/),
102102
and attach your Android app to it.
103-
- You should use `com.google.firebase.unity.dynamiclinks.testapp` as the
103+
- You should use `com.google.FirebaseUnityDynamicLinksTestApp.dev` as the
104104
package name while you're testing.
105105
- If you do not use the prescribed package name you will need to update
106106
the bundle identifier as described in the
@@ -147,7 +147,7 @@ using the
147147
148148
NOTE: `google-services.json` can be placed anywhere in the project.
149149
- Optional: Update the Project Bundle Identifier
150-
- If you did not use `com.google.firebase.unity.dynamiclinks.testapp`
150+
- If you did not use `com.google.FirebaseUnityDynamicLinksTestApp.dev`
151151
as the project package name you will need to update the sample's Bundle
152152
Identifier.
153153
- Select the `File > Build Settings` menu option.

invites/testapp/ProjectSettings/ProjectSettings.asset

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ PlayerSettings:
9494
16:10: 1
9595
16:9: 1
9696
Others: 1
97-
bundleIdentifier: com.google.firebase.unity.invites.testapp
97+
bundleIdentifier: com.google.FirebaseUnityInvitesTestApp.dev
9898
bundleVersion: 1.0
9999
preloadedAssets: []
100100
metroEnableIndependentInputSource: 0
@@ -165,7 +165,7 @@ PlayerSettings:
165165
appleDeveloperTeamID:
166166
iOSManualSigningProvisioningProfileID:
167167
tvOSManualSigningProvisioningProfileID:
168-
appleEnableAutomaticSigning: 1
168+
appleEnableAutomaticSigning: 0
169169
AndroidTargetDevice: 0
170170
AndroidSplashScreenScale: 0
171171
androidSplashScreen: {fileID: 0}

invites/testapp/readme.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ using the
2424
- Create a project in the
2525
[Firebase console](https://firebase.google.com/console/),
2626
and associate your iOS application.
27-
- You should use `com.google.firebase.unity.invites.testapp` as the
27+
- For Invites, you will need an App Store ID. You can use something
28+
random such as 12345678.
29+
- You should use `com.google.FirebaseUnityInvitesTestApp.dev` as the
2830
package name while you're testing.
2931
- If you do not use the prescribed package name you will need to update
3032
the bundle identifier as described in the
@@ -57,10 +59,10 @@ using the
5759
- Navigate to the `Assets\TestApp` folder in the `Project` window.
5860
- Drag the `GoogleService-Info.plist` downloaded from the Firebase console
5961
into the folder.
60-
62+
6163
NOTE: `GoogleService-Info.plist` can be placed anywhere in the project.
6264
- Optional: Update the Project Bundle Identifier
63-
- If you did not use `com.google.firebase.unity.invites.testapp`
65+
- If you did not use `com.google.FirebaseUnityInvitesTestApp.dev`
6466
as the project package name you will need to update the sample's Bundle
6567
Identifier.
6668
- Select the `File > Build Settings` menu option.
@@ -96,7 +98,7 @@ using the
9698
- Create a project in the
9799
[Firebase console](https://firebase.google.com/console/),
98100
and attach your Android app to it.
99-
- You should use `com.google.firebase.unity.invites.testapp` as the
101+
- You should use `com.google.FirebaseUnityInvitesTestApp.dev` as the
100102
package name while you're testing.
101103
- If you do not use the prescribed package name you will need to update
102104
the bundle identifier as described in the
@@ -143,7 +145,7 @@ using the
143145
144146
NOTE: `google-services.json` can be placed anywhere in the project.
145147
- Optional: Update the Project Bundle Identifier
146-
- If you did not use `com.google.firebase.unity.invites.testapp`
148+
- If you did not use `com.google.FirebaseUnityInvitesTestApp.dev`
147149
as the project package name you will need to update the sample's Bundle
148150
Identifier.
149151
- Select the `File > Build Settings` menu option.

0 commit comments

Comments
 (0)