파이어 베이스 및 이벤트 로그 추가

This commit is contained in:
Ino 2025-09-17 15:24:44 +09:00
parent 57cbc34d03
commit 565a261fb8
143 changed files with 3424 additions and 170 deletions

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a8652b0751984394bb9d80031b6ec6b4
guid: 36c3468caafd450429ae3f71e5f81d7d
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 257bb5374b0fba54782dcdb780dc4da8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: dc218b335b1d14cd5ae532f65042d829
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_analytics.png
timeCreated: 1473376337
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 9fe4b3bd3b7d2477dac92fb7429d1d1b
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_analytics_dark.png
timeCreated: 1472679008
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 394b3ec4d60c24476a12e4ba696d9e5d
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_auth.png
timeCreated: 1473376335
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 3a9e1ef6287664c389bb09e2ac1b23b7
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_auth_dark.png
timeCreated: 1472679008
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 837e8e1f35e334e81931d0857680cebf
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_cloud_messaging.png
timeCreated: 1473376336
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 20c5b8a1f82cb4aadb77ca20683d2a6e
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_cloud_messaging_dark.png
timeCreated: 1472679008
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 415eaec414af14d11955222a282aca08
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_config.png
timeCreated: 1473376335
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 0ad9ef5fff5524355a9670c90a99cbba
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_config_dark.png
timeCreated: 1472679008
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 008a5e76206e49f9b06d8ba144aabb38
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_crashlytics.png
timeCreated: 1473376335
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 214009068900439da4a9cded17d58090
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_crashlytics_dark.png
timeCreated: 1472679008
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

View File

@ -0,0 +1,69 @@
fileFormatVersion: 2
guid: 3eea7b558c67b48e18acf3c278392e3d
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_database.png
timeCreated: 1476203961
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: -1
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

View File

@ -0,0 +1,69 @@
fileFormatVersion: 2
guid: 9f6bfa9d8aefb40dc92461c372c73b0f
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_database_dark.png
timeCreated: 1476203949
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: -1
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 953367231f9e3e22e70e5d1c91a40fe5
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_functions.png
timeCreated: 1473376335
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: b5aa3e4f7432e1c5698417cc13f85271
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_functions_dark.png
timeCreated: 1472679008
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

View File

@ -0,0 +1,78 @@
fileFormatVersion: 2
guid: 573eb851c99f948f4bf2de49322bfd53
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_storage.png
timeCreated: 1481243899
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

View File

@ -0,0 +1,78 @@
fileFormatVersion: 2
guid: 2955864b938094f579ea9902b65ac10c
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/fb_storage_dark.png
timeCreated: 1481243898
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 9f058f25e8e2d47cfb894951d4d7e48a
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/firebase_lockup.png
timeCreated: 1473376336
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: b93330fc8ea08407dbc514b5101afa14
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Editor Default Resources/Firebase/firebase_lockup_dark.png
timeCreated: 1472601251
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot:
x: 0.5
y: 0.5
spriteBorder:
x: 0
y: 0
z: 0
w: 0
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7e9583aeb0edd49408aa30bebd5fb814
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,35 +1,29 @@
fileFormatVersion: 2
guid: 3429646f5d4949efa347230fa86778b7
guid: e2d7ea0845de4cf984265d2a444b7aa4
labels:
- gvh
- gvh_version-12.2.1
- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.182/Google.IOSResolver.dll
- gvh_version-13.2.0
- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.186/Google.IOSResolver.dll
- gvhp_targets-editor
PluginImporter:
externalObjects: {}
serializedVersion: 2
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
validateReferences: 0
platformData:
- first:
Any:
second:
Any:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
Editor:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU

View File

@ -1,13 +1,13 @@
fileFormatVersion: 2
guid: 5b1a2b9a8d0748609fa3195265844d21
guid: fa49a85d4ba140a0ae21528ed12d174c
labels:
- gvh
- gvh_version-12.2.1
- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.182/Google.JarResolver.dll
- gvh_version-13.2.0
- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.186/Google.JarResolver.dll
- gvhp_targets-editor
PluginImporter:
externalObjects: {}
serializedVersion: 2
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
@ -16,20 +16,14 @@ PluginImporter:
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
Any:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
Editor:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU

View File

@ -1,13 +1,13 @@
fileFormatVersion: 2
guid: 4026c19ba8ec495f93f5919b5f2934ee
guid: d8bb10c56a0147bc855a6296778e025e
labels:
- gvh
- gvh_version-12.2.1
- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.182/Google.PackageManagerResolver.dll
- gvh_version-13.2.0
- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.186/Google.PackageManagerResolver.dll
- gvhp_targets-editor
PluginImporter:
externalObjects: {}
serializedVersion: 2
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
@ -16,20 +16,14 @@ PluginImporter:
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
Any:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
Editor:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU

View File

@ -1,13 +1,13 @@
fileFormatVersion: 2
guid: 025280fbe75c450fbdf7c5fc7ecc8860
guid: 5980a684c61d42fbb6b74e2eb3477016
labels:
- gvh
- gvh_version-12.2.1
- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.182/Google.VersionHandlerImpl.dll
- gvh_version-13.2.0
- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.186/Google.VersionHandlerImpl.dll
- gvhp_targets-editor
PluginImporter:
externalObjects: {}
serializedVersion: 2
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
@ -16,20 +16,14 @@ PluginImporter:
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
Any:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
Editor:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU

View File

@ -1,3 +1,22 @@
# Version 1.2.186 - May 19, 2025
* iOS Resolver - Set `validateReferences` to off by default,
to prevent errors when running without iOS Support installed.
Fixes #412 and #622
# Version 1.2.185 - Feb 3, 2025
* Android Resolver - Reverse conditional checker for `packaging` keyword in maintemplate based on android gradle plugin version. Fixes #715
# Version 1.2.184 - Jan 28, 2025
* Android Resolver - Update and resolve `packaging` keyword in maintemplate
based on android gradle plugin version.
Fixes #715
# Version 1.2.183 - Sep 18, 2024
* Android Resolver - Handle package paths that don't include a version hash,
which is no longer present with Unity 6. Fixes #697
* Android Resolver - Handle packages referenced using local file paths.
Fixes #701
# Version 1.2.182 - Aug 2, 2024
* General - Check for gradle version instead of Unity version when determining
the template files to modify.

View File

@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: b699fc553a294dbcad96ff0365038f6a
guid: aba4ee01c6d145f7bf2d944d892f709a
labels:
- gvh
- gvh_version-12.2.1
- gvh_version-13.2.0
- gvhp_exportpath-ExternalDependencyManager/Editor/CHANGELOG.md
TextScriptImporter:
externalObjects: {}

View File

@ -1,13 +1,13 @@
fileFormatVersion: 2
guid: 61128ff4560e43ddb606dc203efe7799
guid: f7632a50b10045458c53a5ddf7b6d238
labels:
- gvh
- gvh_version-12.2.1
- gvh_version-13.2.0
- gvhp_exportpath-ExternalDependencyManager/Editor/Google.VersionHandler.dll
- gvhp_targets-editor
PluginImporter:
externalObjects: {}
serializedVersion: 2
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
@ -16,20 +16,14 @@ PluginImporter:
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
Any:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
Editor:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU

View File

@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: b91d7551a5d9453e914e5295af46195e
guid: ae8b2bc8d1ac4ad48f0ab2b2e7ac75fb
labels:
- gvh
- gvh_version-12.2.1
- gvh_version-13.2.0
- gvhp_exportpath-ExternalDependencyManager/Editor/LICENSE
DefaultImporter:
externalObjects: {}

View File

@ -72,6 +72,12 @@ EDM4U is available on
openupm add com.google.external-dependency-manager
```
### Install via git URL
1. Open Package Manager
2. Click on the + icon on the top left corner of the "Package Manager" screen
3. Click on "Install package from git url..."
4. Paste: https://github.com/googlesamples/unity-jar-resolver.git?path=upm
### Install via Google APIs for Unity
EDM4U is available both in UPM and legacy `.unitypackage` formats on

View File

@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: ee2d63ed1abf409b893e36120a404f03
guid: 77919e84cef8419ab4b725fc16e83d52
labels:
- gvh
- gvh_version-12.2.1
- gvh_version-13.2.0
- gvhp_exportpath-ExternalDependencyManager/Editor/README.md
TextScriptImporter:
externalObjects: {}

View File

@ -1,13 +0,0 @@
Assets/ExternalDependencyManager/Editor/1.2.182/Google.IOSResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.182/Google.IOSResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.182/Google.JarResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.182/Google.JarResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.182/Google.PackageManagerResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.182/Google.PackageManagerResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.182/Google.VersionHandlerImpl.dll
Assets/ExternalDependencyManager/Editor/1.2.182/Google.VersionHandlerImpl.pdb
Assets/ExternalDependencyManager/Editor/CHANGELOG.md
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.pdb
Assets/ExternalDependencyManager/Editor/LICENSE
Assets/ExternalDependencyManager/Editor/README.md

View File

@ -0,0 +1,13 @@
Assets/ExternalDependencyManager/Editor/1.2.186/Google.IOSResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.186/Google.IOSResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.186/Google.JarResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.186/Google.JarResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.186/Google.PackageManagerResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.186/Google.PackageManagerResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.186/Google.VersionHandlerImpl.dll
Assets/ExternalDependencyManager/Editor/1.2.186/Google.VersionHandlerImpl.pdb
Assets/ExternalDependencyManager/Editor/CHANGELOG.md
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.pdb
Assets/ExternalDependencyManager/Editor/LICENSE
Assets/ExternalDependencyManager/Editor/README.md

View File

@ -1,10 +1,10 @@
fileFormatVersion: 2
guid: d602686ba68d4bfea020d161c28431a9
guid: c9a3138961c74d99b7046b783112fceb
labels:
- gvh
- gvh_manifest
- gvh_version-1.2.182
- gvhp_exportpath-ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.182_manifest.txt
- gvh_version-1.2.186
- gvhp_exportpath-ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.186_manifest.txt
- gvhp_manifestname-0External Dependency Manager
- gvhp_manifestname-play-services-resolver
TextScriptImporter:

8
Assets/Firebase.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3809a0d10988ca746870e16a42b91349
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7cd55d7130076d8458238b7cb37a1980
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,20 @@
<!-- Copyright (C) 2019 Google Inc. All Rights Reserved.
FirebaseAnalytics iOS and Android Dependencies.
-->
<dependencies>
<iosPods>
<iosPod name="Firebase/Analytics" version="12.2.0" minTargetSdk="15.0">
</iosPod>
</iosPods>
<androidPackages>
<androidPackage spec="com.google.firebase:firebase-analytics:23.0.0">
</androidPackage>
<androidPackage spec="com.google.firebase:firebase-analytics-unity:13.2.0">
<repositories>
<repository>Assets/Firebase/m2repository</repository>
</repositories>
</androidPackage>
</androidPackages>
</dependencies>

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1e3c2da79be842cd838a9ddd70d20fa9
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/Editor/AnalyticsDependencies.xml
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,24 @@
<!-- Copyright (C) 2019 Google Inc. All Rights Reserved.
FirebaseApp iOS and Android Dependencies.
-->
<dependencies>
<iosPods>
<iosPod name="Firebase/Core" version="12.2.0" minTargetSdk="15.0">
</iosPod>
</iosPods>
<androidPackages>
<androidPackage spec="com.google.firebase:firebase-common:22.0.0">
</androidPackage>
<androidPackage spec="com.google.firebase:firebase-analytics:23.0.0">
</androidPackage>
<androidPackage spec="com.google.android.gms:play-services-base:18.7.2">
</androidPackage>
<androidPackage spec="com.google.firebase:firebase-app-unity:13.2.0">
<repositories>
<repository>Assets/Firebase/m2repository</repository>
</repositories>
</androidPackage>
</androidPackages>
</dependencies>

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9b63af95d9364af4a3d8ce58738b6223
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/Editor/AppDependencies.xml
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,67 @@
fileFormatVersion: 2
guid: 9f2edbf81053418f879076c05f816dc2
labels:
- gvh
- gvh_targets-editor
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/Editor/Firebase.Editor.dll
PluginImporter:
externalObjects: {}
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 0
platformData:
Android:
enabled: 0
settings:
CPU: AnyCPU
Any:
enabled: 0
settings: {}
Editor:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux64:
enabled: 0
settings:
CPU: None
OSXUniversal:
enabled: 0
settings:
CPU: None
WebGL:
enabled: 0
settings: {}
Win:
enabled: 0
settings:
CPU: None
Win64:
enabled: 0
settings:
CPU: None
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU
iOS:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
tvOS:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,69 @@
Assets/Editor Default Resources/Firebase/fb_analytics.png
Assets/Editor Default Resources/Firebase/fb_analytics_dark.png
Assets/Editor Default Resources/Firebase/fb_auth.png
Assets/Editor Default Resources/Firebase/fb_auth_dark.png
Assets/Editor Default Resources/Firebase/fb_cloud_messaging.png
Assets/Editor Default Resources/Firebase/fb_cloud_messaging_dark.png
Assets/Editor Default Resources/Firebase/fb_config.png
Assets/Editor Default Resources/Firebase/fb_config_dark.png
Assets/Editor Default Resources/Firebase/fb_crashlytics.png
Assets/Editor Default Resources/Firebase/fb_crashlytics_dark.png
Assets/Editor Default Resources/Firebase/fb_database.png
Assets/Editor Default Resources/Firebase/fb_database_dark.png
Assets/Editor Default Resources/Firebase/fb_functions.png
Assets/Editor Default Resources/Firebase/fb_functions_dark.png
Assets/Editor Default Resources/Firebase/fb_storage.png
Assets/Editor Default Resources/Firebase/fb_storage_dark.png
Assets/Editor Default Resources/Firebase/firebase_lockup.png
Assets/Editor Default Resources/Firebase/firebase_lockup_dark.png
Assets/ExternalDependencyManager/Editor/1.2.186/Google.IOSResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.186/Google.IOSResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.186/Google.JarResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.186/Google.JarResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.186/Google.PackageManagerResolver.dll
Assets/ExternalDependencyManager/Editor/1.2.186/Google.PackageManagerResolver.pdb
Assets/ExternalDependencyManager/Editor/1.2.186/Google.VersionHandlerImpl.dll
Assets/ExternalDependencyManager/Editor/1.2.186/Google.VersionHandlerImpl.pdb
Assets/ExternalDependencyManager/Editor/CHANGELOG.md
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.pdb
Assets/ExternalDependencyManager/Editor/LICENSE
Assets/ExternalDependencyManager/Editor/README.md
Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.186_manifest.txt
Assets/Firebase/Editor/AnalyticsDependencies.xml
Assets/Firebase/Editor/AppDependencies.xml
Assets/Firebase/Editor/Firebase.Editor.dll
Assets/Firebase/Editor/Firebase.Editor.pdb
Assets/Firebase/Editor/generate_xml_from_google_services_json.exe
Assets/Firebase/Editor/generate_xml_from_google_services_json.py
Assets/Firebase/Editor/network_request.exe
Assets/Firebase/Editor/network_request.py
Assets/Firebase/Plugins/Firebase.Analytics.dll
Assets/Firebase/Plugins/Firebase.Analytics.pdb
Assets/Firebase/Plugins/Firebase.App.dll
Assets/Firebase/Plugins/Firebase.App.pdb
Assets/Firebase/Plugins/Firebase.Platform.dll
Assets/Firebase/Plugins/Firebase.Platform.pdb
Assets/Firebase/Plugins/Firebase.TaskExtension.dll
Assets/Firebase/Plugins/Firebase.TaskExtension.pdb
Assets/Firebase/Plugins/Google.MiniJson.dll
Assets/Firebase/Plugins/iOS/Firebase.Analytics.dll
Assets/Firebase/Plugins/iOS/Firebase.Analytics.pdb
Assets/Firebase/Plugins/iOS/Firebase.App.dll
Assets/Firebase/Plugins/iOS/Firebase.App.pdb
Assets/Firebase/Plugins/x86_64/FirebaseCppAnalytics.bundle
Assets/Firebase/Plugins/x86_64/FirebaseCppAnalytics.dll
Assets/Firebase/Plugins/x86_64/FirebaseCppAnalytics.so
Assets/Firebase/Plugins/x86_64/FirebaseCppApp-13_2_0.bundle
Assets/Firebase/Plugins/x86_64/FirebaseCppApp-13_2_0.dll
Assets/Firebase/Plugins/x86_64/FirebaseCppApp-13_2_0.so
Assets/Firebase/m2repository/com/google/firebase/firebase-analytics-unity/13.2.0/firebase-analytics-unity-13.2.0.pom
Assets/Firebase/m2repository/com/google/firebase/firebase-analytics-unity/13.2.0/firebase-analytics-unity-13.2.0.srcaar
Assets/Firebase/m2repository/com/google/firebase/firebase-analytics-unity/maven-metadata.xml
Assets/Firebase/m2repository/com/google/firebase/firebase-app-unity/13.2.0/firebase-app-unity-13.2.0.pom
Assets/Firebase/m2repository/com/google/firebase/firebase-app-unity/13.2.0/firebase-app-unity-13.2.0.srcaar
Assets/Firebase/m2repository/com/google/firebase/firebase-app-unity/maven-metadata.xml
Assets/Plugins/iOS/Firebase/libFirebaseCppAnalytics.a
Assets/Plugins/iOS/Firebase/libFirebaseCppApp.a
Assets/Plugins/tvOS/Firebase/libFirebaseCppAnalytics.a
Assets/Plugins/tvOS/Firebase/libFirebaseCppApp.a

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: e9b5d02debe744ba814e1f4852c7678b
labels:
- gvh
- gvh_manifest
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/Editor/FirebaseAnalytics_version-13.2.0_manifest.txt
- gvhp_manifestname-0Google Analytics
- gvhp_manifestname-1FirebaseAnalytics
timeCreated: 0

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ae88c0972b7448b5b36def1716f1d711
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/Editor/generate_xml_from_google_services_json.exe
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,498 @@
#!/usr/bin/python
# Copyright 2016 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Stand-alone implementation of the Gradle Firebase plugin.
Converts the services json file to xml:
https://googleplex-android.googlesource.com/platform/tools/base/+/studio-master-dev/build-system/google-services/src/main/groovy/com/google/gms/googleservices
"""
__author__ = 'Wouter van Oortmerssen'
import argparse
import ctypes
import json
import os
import platform
import sys
from xml.etree import ElementTree
if platform.system().lower() == 'windows':
import ctypes.wintypes # pylint: disable=g-import-not-at-top
# Map Python 2's unicode method to encode a string as bytes in python 3.
try:
unicode('') # See whether unicode class is available (Python < 3)
except NameError:
unicode = str # pylint: disable=redefined-builtin,invalid-name
# Input filename if it isn't set.
DEFAULT_INPUT_FILENAME = 'app/google-services.json'
# Output filename if it isn't set.
DEFAULT_OUTPUT_FILENAME = 'res/values/googleservices.xml'
# Input filename for .plist files, if it isn't set.
DEFAULT_PLIST_INPUT_FILENAME = 'GoogleService-Info.plist'
# Output filename for .json files, if it isn't set.
DEFAULT_JSON_OUTPUT_FILENAME = 'google-services-desktop.json'
OAUTH_CLIENT_TYPE_ANDROID_APP = 1
OAUTH_CLIENT_TYPE_WEB = 3
def read_xml_value(xml_node):
"""Utility method for reading values from the plist XML.
Args:
xml_node: An ElementTree node, that contains a value.
Returns:
The value of the node, or None, if it could not be read.
"""
if xml_node.tag == 'string':
return xml_node.text
elif xml_node.tag == 'integer':
return int(xml_node.text)
elif xml_node.tag == 'real':
return float(xml_node.text)
elif xml_node.tag == 'false':
return 0
elif xml_node.tag == 'true':
return 1
else:
# other types of input are ignored. (data, dates, arrays, etc.)
return None
def construct_plist_dictionary(xml_root):
"""Constructs a dictionary of values based on the contents of a plist file.
Args:
xml_root: An ElementTree node, that represents the root of the xml file
that is to be parsed. (Which should be a dictionary containing
key-value pairs of the properties that need to be extracted.)
Returns:
A dictionary, containing key-value pairs for all (supported) entries in the
node.
"""
xml_dict = xml_root.find('dict')
if xml_dict is None:
return None
plist_dict = {}
i = 0
while i < len(xml_dict):
if xml_dict[i].tag == 'key':
key = xml_dict[i].text
i += 1
if i < len(xml_dict):
value = read_xml_value(xml_dict[i])
if value is not None:
plist_dict[key] = value
i += 1
return plist_dict
def update_dict_keys(key_map, input_dict):
"""Creates a dict from input_dict with the same values but new keys.
Two dictionaries are passed to this function: the key_map that represents a
mapping of source keys to destination keys, and the input_dict that is the
dictionary that is to be duplicated, replacing any key that matches a source
key with a destination key. Source keys that are not present in the
input_dict will not have their destination key represented in the result.
In other words, if key_map is `{'old': 'new', 'foo': 'bar'}`, and input_dict
is `{'old': 10}`, the result will be `{'new': 10}`.
Args:
key_map (dict): A dictionary of strings to strings that maps source keys to
destination keys.
input_dict (dict): The dictionary of string keys to any value type, which
is to be duplicated, replacing source keys with the corresponding
destination keys from key_map.
Returns:
dict: A new dictionary with updated keys.
"""
return {
new_key: input_dict[old_key]
for (old_key, new_key) in key_map.items()
if old_key in input_dict
}
def construct_google_services_json(xml_dict):
"""Constructs a google services json file from a dictionary.
Args:
xml_dict: A dictionary of all the key/value pairs that are needed for the
output json file.
Returns:
A string representing the output json file.
"""
try:
json_struct = {
'project_info':
update_dict_keys(
{
'GCM_SENDER_ID': 'project_number',
'DATABASE_URL': 'firebase_url',
'PROJECT_ID': 'project_id',
'STORAGE_BUCKET': 'storage_bucket'
}, xml_dict),
'client': [{
'client_info': {
'mobilesdk_app_id': xml_dict['GOOGLE_APP_ID'],
'android_client_info': {
'package_name': xml_dict['BUNDLE_ID']
}
},
'api_key': [{
'current_key': xml_dict['API_KEY']
}],
'services': {
'analytics_service': {
'status': xml_dict['IS_ANALYTICS_ENABLED']
},
'appinvite_service': {
'status': xml_dict['IS_APPINVITE_ENABLED']
}
}
},],
'configuration_version':
'1'
}
# OAuth client is optional, but include it if present.
if 'CLIENT_ID' in xml_dict:
json_struct['client'][0]['oauth_client'] = [{
'client_id': xml_dict['CLIENT_ID'],
}]
return json.dumps(json_struct, indent=2)
except KeyError as e:
sys.stderr.write('Could not find key in plist file: [%s]\n' % (e.args[0]))
return None
def convert_plist_to_json(plist_string, input_filename):
"""Converts an input plist string into a .json file and saves it.
Args:
plist_string: The contents of the loaded plist file.
input_filename: The file name that the plist data was read from.
Returns:
the converted string, or None if there were errors.
"""
try:
root = ElementTree.fromstring(plist_string)
except ElementTree.ParseError:
sys.stderr.write('Error parsing file %s.\n'
'It does not appear to be valid XML.\n' % (input_filename))
return None
plist_dict = construct_plist_dictionary(root)
if plist_dict is None:
sys.stderr.write('In file %s, could not locate a top-level \'dict\' '
'element.\n'
'File format should be plist XML, with a top-level '
'dictionary containing project settings as key-value '
'pairs.\n' % (input_filename))
return None
json_string = construct_google_services_json(plist_dict)
return json_string
def gen_string(parent, name, text):
"""Generate one <string /> element and put into the list of keeps.
Args:
parent: The object that will hold the string.
name: The name to store the string under.
text: The text of the string.
"""
if text:
prev = parent.get('tools:keep', '')
if prev:
prev += ','
parent.set('tools:keep', prev + '@string/' + name)
child = ElementTree.SubElement(parent, 'string', {
'name': name,
'translatable': 'false'
})
child.text = text
def indent(elem, level=0):
"""Recurse through XML tree and add indentation.
Args:
elem: The element to recurse over
level: The current indentation level.
"""
i = '\n' + level*' '
if elem is not None:
if not elem.text or not elem.text.strip():
elem.text = i + ' '
if not elem.tail or not elem.tail.strip():
elem.tail = i
for elem in elem:
indent(elem, level+1)
if not elem.tail or not elem.tail.strip():
elem.tail = i
else:
if level and (not elem.tail or not elem.tail.strip()):
elem.tail = i
def argv_as_unicode_win32():
"""Returns unicode command line arguments on windows.
"""
get_command_line_w = ctypes.cdll.kernel32.GetCommandLineW
get_command_line_w.restype = ctypes.wintypes.LPCWSTR
# CommandLineToArgvW parses the Unicode command line
command_line_to_argv_w = ctypes.windll.shell32.CommandLineToArgvW
command_line_to_argv_w.argtypes = [
ctypes.wintypes.LPCWSTR,
ctypes.POINTER(ctypes.c_int)
]
command_line_to_argv_w.restype = ctypes.POINTER(
ctypes.wintypes.LPWSTR)
argc = ctypes.c_int(0)
argv = command_line_to_argv_w(get_command_line_w(), argc)
# Strip the python executable from the arguments if it exists
# (It would be listed as the first argument on the windows command line, but
# not in the arguments to the python script)
sys_argv_len = len(sys.argv)
return [unicode(argv[i]) for i in
range(argc.value - sys_argv_len, argc.value)]
def main():
parser = argparse.ArgumentParser(
description=((
'Converts a Firebase %s into %s similar to the Gradle plugin, or '
'converts a Firebase %s into a %s suitible for use on desktop apps.' %
(DEFAULT_INPUT_FILENAME, DEFAULT_OUTPUT_FILENAME,
DEFAULT_PLIST_INPUT_FILENAME, DEFAULT_JSON_OUTPUT_FILENAME))))
parser.add_argument('-i', help='Override input file name',
metavar='FILE', required=False)
parser.add_argument('-o', help='Override destination file name',
metavar='FILE', required=False)
parser.add_argument('-p', help=('Package ID to select within the set of '
'packages in the input file. If this is '
'not specified, the first package in the '
'input file is selected.'))
parser.add_argument('-l', help=('List all package IDs referenced by the '
'input file. If this is specified, '
'the output file is not created.'),
action='store_true', default=False, required=False)
parser.add_argument('-f', help=('Print project fields from the input file '
'in the form \'name=value\\n\' for each '
'field. If this is specified, the output '
'is not created.'),
action='store_true', default=False, required=False)
parser.add_argument(
'--plist',
help=(
'Specifies a plist file to convert to a JSON configuration file. '
'If this is enabled, the script will expect a .plist file as input, '
'which it will convert into %s file. The output file is '
'*not* suitable for use with Firebase on Android.' %
(DEFAULT_JSON_OUTPUT_FILENAME)),
action='store_true',
default=False,
required=False)
# python 2 on Windows doesn't handle unicode arguments well, so we need to
# pre-process the command line arguments before trying to parse them.
if platform.system() == 'Windows':
sys.argv = argv_as_unicode_win32()
args = parser.parse_args()
if args.plist:
input_filename = DEFAULT_PLIST_INPUT_FILENAME
output_filename = DEFAULT_JSON_OUTPUT_FILENAME
else:
input_filename = DEFAULT_INPUT_FILENAME
output_filename = DEFAULT_OUTPUT_FILENAME
if args.i:
# Encode the input string (type unicode) as a normal string (type str)
# using the 'utf-8' encoding so that it can be worked with the same as
# input names from other sources (like the defaults).
input_filename_raw = args.i.encode('utf-8')
# Decode the filename to a unicode string using the 'utf-8' encoding to
# properly handle filepaths with unicode characters in them.
input_filename = input_filename_raw.decode('utf-8')
if args.o:
output_filename = args.o
with open(input_filename, 'r') as ifile:
file_string = ifile.read()
json_string = None
if args.plist:
json_string = convert_plist_to_json(file_string, input_filename)
if json_string is None:
return 1
jsobj = json.loads(json_string)
else:
jsobj = json.loads(file_string)
root = ElementTree.Element('resources')
root.set('xmlns:tools', 'http://schemas.android.com/tools')
project_info = jsobj.get('project_info')
if project_info:
gen_string(root, 'firebase_database_url', project_info.get('firebase_url'))
gen_string(root, 'gcm_defaultSenderId', project_info.get('project_number'))
gen_string(root, 'google_storage_bucket',
project_info.get('storage_bucket'))
gen_string(root, 'project_id', project_info.get('project_id'))
if args.f:
if not project_info:
sys.stderr.write('No project info found in %s.' % input_filename)
return 1
for field, value in sorted(project_info.items()):
sys.stdout.write('%s=%s\n' % (field, value))
return 0
packages = set()
client_list = jsobj.get('client')
if client_list:
# Search for the user specified package in the file.
selected_package_name = ''
selected_client = client_list[0]
find_package_name = args.p
for client in client_list:
package_name = client.get('client_info', {}).get(
'android_client_info', {}).get('package_name', '')
if not package_name:
package_name = client.get('oauth_client', {}).get(
'android_info', {}).get('package_name', '')
if package_name:
if not selected_package_name:
selected_package_name = package_name
selected_client = client
if package_name == find_package_name:
selected_package_name = package_name
selected_client = client
packages.add(package_name)
if args.p and selected_package_name != find_package_name:
sys.stderr.write('No packages found in %s which match the package '
'name %s\n'
'\n'
'Found the following:\n'
'%s\n' % (input_filename, find_package_name,
'\n'.join(packages)))
return 1
client_api_key = selected_client.get('api_key')
if client_api_key:
client_api_key0 = client_api_key[0]
gen_string(root, 'google_api_key', client_api_key0.get('current_key'))
gen_string(root, 'google_crash_reporting_api_key',
client_api_key0.get('current_key'))
client_info = selected_client.get('client_info')
if client_info:
gen_string(root, 'google_app_id', client_info.get('mobilesdk_app_id'))
# Only include the first matching OAuth client ID per type.
client_id_web_parsed = False
client_id_android_parsed = False
oauth_client_list = selected_client.get('oauth_client')
if oauth_client_list:
for oauth_client in oauth_client_list:
client_type = oauth_client.get('client_type')
client_id = oauth_client.get('client_id')
if not (client_type and client_id): continue
if (client_type == OAUTH_CLIENT_TYPE_WEB and
not client_id_web_parsed):
gen_string(root, 'default_web_client_id', client_id)
client_id_web_parsed = True
if (client_type == OAUTH_CLIENT_TYPE_ANDROID_APP and
not client_id_android_parsed):
gen_string(root, 'default_android_client_id', client_id)
client_id_android_parsed = True
services = selected_client.get('services')
if services:
ads_service = services.get('ads_service')
if ads_service:
gen_string(root, 'test_banner_ad_unit_id',
ads_service.get('test_banner_ad_unit_id'))
gen_string(root, 'test_interstitial_ad_unit_id',
ads_service.get('test_interstitial_ad_unit_id'))
analytics_service = services.get('analytics_service')
if analytics_service:
analytics_property = analytics_service.get('analytics_property')
if analytics_property:
gen_string(root, 'ga_trackingId',
analytics_property.get('tracking_id'))
# enable this once we have an example if this service being present
# in the json data:
maps_service_enabled = False
if maps_service_enabled:
maps_service = services.get('maps_service')
if maps_service:
maps_api_key = maps_service.get('api_key')
if maps_api_key:
for k in range(0, len(maps_api_key)):
# generates potentially multiple of these keys, which is
# the same behavior as the java plugin.
gen_string(root, 'google_maps_key',
maps_api_key[k].get('maps_api_key'))
tree = ElementTree.ElementTree(root)
indent(root)
if args.l:
for package in sorted(packages):
if package:
sys.stdout.write(package + '\n')
else:
path = os.path.dirname(output_filename)
if path and not os.path.exists(path):
os.makedirs(path)
if not args.plist:
tree.write(output_filename, 'utf-8', True)
else:
with open(output_filename, 'w') as ofile:
ofile.write(json_string)
return 0
if __name__ == '__main__':
sys.exit(main())

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8f18ed76c0f04ce0a65736104f913ef8
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/Editor/generate_xml_from_google_services_json.py
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d3cd5d0a941c4cdc8ab4b1b684b05191
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/Editor/network_request.exe
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,416 @@
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Wrapper script which makes a network request.
Basic Usage: network_request.py post
--url <url>
--header <header> (optional, support multiple)
--body <body> (optional)
--timeout <secs> (optional)
--verbose (optional)
"""
import argparse
import inspect
import logging
import socket
import sys
# pylint: disable=g-import-not-at-top
# pylint: disable=g-importing-member
try:
from six.moves.http_client import HTTPSConnection
from six.moves.http_client import HTTPConnection
from six.moves.http_client import HTTPException
except ImportError:
from http.client import HTTPSConnection
from http.client import HTTPConnection
from http.client import HTTPException
try:
from six.moves.urllib.parse import urlparse
except ImportError:
from urllib.parse import urlparse
# pylint: enable=g-import-not-at-top
# pylint: enable=g-importing-member
# Set up logger as soon as possible
formatter = logging.Formatter('[%(levelname)s] %(message)s')
handler = logging.StreamHandler(stream=sys.stdout)
handler.setFormatter(formatter)
handler.setLevel(logging.INFO)
logger = logging.getLogger(__name__)
logger.addHandler(handler)
logger.setLevel(logging.INFO)
# Custom exit codes for known issues.
# System exit codes in python are valid from 0 - 256, so we will map some common
# ones here to understand successes and failures.
# Uses lower ints to not collide w/ HTTP status codes that the script may return
EXIT_CODE_SUCCESS = 0
EXIT_CODE_SYS_ERROR = 1
EXIT_CODE_INVALID_REQUEST_VALUES = 2
EXIT_CODE_GENERIC_HTTPLIB_ERROR = 3
EXIT_CODE_HTTP_TIMEOUT = 4
EXIT_CODE_HTTP_REDIRECT_ERROR = 5
EXIT_CODE_HTTP_NOT_FOUND_ERROR = 6
EXIT_CODE_HTTP_SERVER_ERROR = 7
EXIT_CODE_HTTP_UNKNOWN_ERROR = 8
MAX_EXIT_CODE = 8
# All used http verbs
POST = 'POST'
def unwrap_kwarg_namespace(func):
"""Transform a Namespace object from argparse into proper args and kwargs.
For a function that will be delegated to from argparse, inspect all of the
argments and extract them from the Namespace object.
Args:
func: the function that we are wrapping to modify behavior
Returns:
a new function that unwraps all of the arguments in a namespace and then
delegates to the passed function with those args.
"""
# When we move to python 3, getfullargspec so that we can tell the
# difference between args and kwargs -- then this could be used for functions
# that have both args and kwargs
if 'getfullargspec' in dir(inspect):
argspec = inspect.getfullargspec(func)
else:
argspec = inspect.getargspec(func) # Python 2 compatibility.
def wrapped(argparse_namespace=None, **kwargs):
"""Take a Namespace object and map it to kwargs.
Inspect the argspec of the passed function. Loop over all the args that
are present in the function and try to map them by name to arguments in the
namespace. For keyword arguments, we do not require that they be present
in the Namespace.
Args:
argparse_namespace: an arparse.Namespace object, the result of calling
argparse.ArgumentParser().parse_args()
**kwargs: keyword arguments that may be passed to the original function
Returns:
The return of the wrapped function from the parent.
Raises:
ValueError in the event that an argument is passed to the cli that is not
in the set of named kwargs
"""
if not argparse_namespace:
return func(**kwargs)
reserved_namespace_keywords = ['func']
new_kwargs = {}
args = argspec.args or []
for arg_name in args:
passed_value = getattr(argparse_namespace, arg_name, None)
if passed_value is not None:
new_kwargs[arg_name] = passed_value
for namespace_key in vars(argparse_namespace).keys():
# ignore namespace keywords that have been set not passed in via cli
if namespace_key in reserved_namespace_keywords:
continue
# make sure that we haven't passed something we should be processing
if namespace_key not in args:
raise ValueError('CLI argument "{}" does not match any argument in '
'function {}'.format(namespace_key, func.__name__))
return func(**new_kwargs)
wrapped.__name__ = func.__name__
return wrapped
class NetworkRequest(object):
"""A container for an network request object.
This class holds on to all of the attributes necessary for making a
network request via httplib.
"""
def __init__(self, url, method, headers, body, timeout):
self.url = url.lower()
self.parsed_url = urlparse(self.url)
self.method = method
self.headers = headers
self.body = body
self.timeout = timeout
self.is_secure_connection = self.is_secure_connection()
def execute_request(self):
""""Execute the request, and get a response.
Returns:
an HttpResponse object from httplib
"""
if self.is_secure_connection:
conn = HTTPSConnection(self.get_hostname(), timeout=self.timeout)
else:
conn = HTTPConnection(self.get_hostname(), timeout=self.timeout)
conn.request(self.method, self.url, self.body, self.headers)
response = conn.getresponse()
return response
def get_hostname(self):
"""Return the hostname for the url."""
return self.parsed_url.netloc
def is_secure_connection(self):
"""Checks for a secure connection of https.
Returns:
True if the scheme is "https"; False if "http"
Raises:
ValueError when the scheme does not match http or https
"""
scheme = self.parsed_url.scheme
if scheme == 'http':
return False
elif scheme == 'https':
return True
else:
raise ValueError('The url scheme is not "http" nor "https"'
': {}'.format(scheme))
def parse_colon_delimited_options(option_args):
"""Parses a key value from a string.
Args:
option_args: Key value string delimited by a color, ex: ("key:value")
Returns:
Return an array with the key as the first element and value as the second
Raises:
ValueError: If the key value option is not formatted correctly
"""
options = {}
if not option_args:
return options
for single_arg in option_args:
values = single_arg.split(':')
if len(values) != 2:
raise ValueError('An option arg must be a single key/value pair '
'delimited by a colon - ex: "thing_key:thing_value"')
key = values[0].strip()
value = values[1].strip()
options[key] = value
return options
def make_request(request):
"""Makes a synchronous network request and return the HTTP status code.
Args:
request: a well formulated request object
Returns:
The HTTP status code of the network request.
'1' maps to invalid request headers.
"""
logger.info('Sending network request -')
logger.info('\tUrl: %s', request.url)
logger.debug('\tMethod: %s', request.method)
logger.debug('\tHeaders: %s', request.headers)
logger.debug('\tBody: %s', request.body)
try:
response = request.execute_request()
except socket.timeout:
logger.exception(
'Timed out post request to %s in %d seconds for request body: %s',
request.url, request.timeout, request.body)
return EXIT_CODE_HTTP_TIMEOUT
except (HTTPException, socket.error):
logger.exception(
'Encountered generic exception in posting to %s with request body %s',
request.url, request.body)
return EXIT_CODE_GENERIC_HTTPLIB_ERROR
status = response.status
headers = response.getheaders()
logger.info('Received Network response -')
logger.info('\tStatus code: %d', status)
logger.debug('\tResponse headers: %s', headers)
if status < 200 or status > 299:
logger.error('Request (%s) failed with status code %d\n', request.url,
status)
# If we wanted this script to support get, we need to
# figure out what mechanism we intend for capturing the response
return status
@unwrap_kwarg_namespace
def post(url=None, header=None, body=None, timeout=5, verbose=False):
"""Sends a post request.
Args:
url: The url of the request
header: A list of headers for the request
body: The body for the request
timeout: Timeout in seconds for the request
verbose: Should debug logs be displayed
Returns:
Return an array with the key as the first element and value as the second
"""
if verbose:
handler.setLevel(logging.DEBUG)
logger.setLevel(logging.DEBUG)
try:
logger.info('Parsing headers: %s', header)
headers = parse_colon_delimited_options(header)
except ValueError:
logging.exception('Could not parse the parameters with "--header": %s',
header)
return EXIT_CODE_INVALID_REQUEST_VALUES
try:
request = NetworkRequest(url, POST, headers, body, float(timeout))
except ValueError:
logger.exception('Invalid request values passed into the script.')
return EXIT_CODE_INVALID_REQUEST_VALUES
status = make_request(request)
# View exit code after running to get the http status code: 'echo $?'
return status
def get_argsparser():
"""Returns the argument parser.
Returns:
Argument parser for the script.
"""
parser = argparse.ArgumentParser(
description='The script takes in the arguments of a network request. '
'The network request is sent and the http status code will be'
'returned as the exit code.')
subparsers = parser.add_subparsers(help='Commands:')
post_parser = subparsers.add_parser(
post.__name__, help='{} help'.format(post.__name__))
post_parser.add_argument(
'--url',
help='Request url. Ex: https://www.google.com/somePath/',
required=True,
dest='url')
post_parser.add_argument(
'--header',
help='Request headers as a space delimited list of key '
'value pairs. Ex: "key1:value1 key2:value2"',
action='append',
required=False,
dest='header')
post_parser.add_argument(
'--body',
help='The body of the network request',
required=True,
dest='body')
post_parser.add_argument(
'--timeout',
help='The timeout in seconds',
default=10.0,
required=False,
dest='timeout')
post_parser.add_argument(
'--verbose',
help='Should verbose logging be outputted',
action='store_true',
default=False,
required=False,
dest='verbose')
post_parser.set_defaults(func=post)
return parser
def map_http_status_to_exit_code(status_code):
"""Map an http status code to the appropriate exit code.
Exit codes in python are valid from 0-256, so we want to map these to
predictable exit codes within range.
Args:
status_code: the input status code that was output from the network call
function
Returns:
One of our valid exit codes declared at the top of the file or a generic
unknown error code
"""
if status_code <= MAX_EXIT_CODE:
return status_code
if status_code > 199 and status_code < 300:
return EXIT_CODE_SUCCESS
if status_code == 302:
return EXIT_CODE_HTTP_REDIRECT_ERROR
if status_code == 404:
return EXIT_CODE_HTTP_NOT_FOUND_ERROR
if status_code > 499:
return EXIT_CODE_HTTP_SERVER_ERROR
return EXIT_CODE_HTTP_UNKNOWN_ERROR
def main():
"""Main function to run the program.
Parse system arguments and delegate to the appropriate function.
Returns:
A status code - either an http status code or a custom error code
"""
parser = get_argsparser()
subparser_action = parser.parse_args()
try:
return subparser_action.func(subparser_action)
except ValueError:
logger.exception('Invalid arguments passed.')
parser.print_help(sys.stderr)
return EXIT_CODE_INVALID_REQUEST_VALUES
return EXIT_CODE_GENERIC_HTTPLIB_ERROR
if __name__ == '__main__':
exit_code = map_http_status_to_exit_code(main())
sys.exit(exit_code)

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e6e32fecbfd44fab946fa160e4861924
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/Editor/network_request.py
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 30b62f7fde242c94facf91e08fae7d5f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b56e335a2112e1648a891a9599ca69fd
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 443011d5259f8094caee93400c109d0a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a0d198db1c50acb468baba0749cc47e8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8ef25fbe04b28ab478e736ce6e0658b6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 59c5cca7c9cedd345b514b553d11a410
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c62a8c23b1b6df042a9c2d3a2252bc38
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \&#xD;&#xA;http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.firebase</groupId>
<artifactId>firebase-analytics-unity</artifactId>
<version>13.2.0</version>
<packaging>srcaar</packaging>
<dependencies></dependencies>
</project>

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 150299a489114cf69b6df401ad01569c
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/m2repository/com/google/firebase/firebase-analytics-unity/13.2.0/firebase-analytics-unity-13.2.0.pom
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a14d8122ecfb47a5a044bac231da5ce7
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/m2repository/com/google/firebase/firebase-analytics-unity/13.2.0/firebase-analytics-unity-13.2.0.srcaar
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
<metadata>
<groupId>com.google.firebase</groupId>
<artifactId>firebase-analytics-unity</artifactId>
<versioning>
<release>13.2.0</release>
<versions><version>13.2.0</version></versions>
<lastUpdated/>
</versioning>
</metadata>

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 291f81d8ae2745cf913a96d116f2e3f7
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/m2repository/com/google/firebase/firebase-analytics-unity/maven-metadata.xml
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5157fd3939e24f543b5eb62a2c951aeb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8e709c66630887d4c807356ede4c718e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \&#xD;&#xA;http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.firebase</groupId>
<artifactId>firebase-app-unity</artifactId>
<version>13.2.0</version>
<packaging>srcaar</packaging>
<dependencies></dependencies>
</project>

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2cc7f337e83a4711b7cda356506f2326
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/m2repository/com/google/firebase/firebase-app-unity/13.2.0/firebase-app-unity-13.2.0.pom
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 327c96317a2e473b96b1392f98ed329e
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/m2repository/com/google/firebase/firebase-app-unity/13.2.0/firebase-app-unity-13.2.0.srcaar
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
<metadata>
<groupId>com.google.firebase</groupId>
<artifactId>firebase-app-unity</artifactId>
<versioning>
<release>13.2.0</release>
<versions><version>13.2.0</version></versions>
<lastUpdated/>
</versioning>
</metadata>

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 96337775a7c941d88ea15f8026ad6f8e
labels:
- gvh
- gvh_version-13.2.0
- gvhp_exportpath-Firebase/m2repository/com/google/firebase/firebase-app-unity/maven-metadata.xml
timeCreated: 1480838400
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4cf0c93ca80437b45ae98b00a3b38a4d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 316332c6bdee3d24ca591cbe0f4562b1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8b51253fa9a6da24dac4f01b9ebf8688
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 096f2d24b068e444695fc9d551d1f633
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files have changed in this diff Show More