Skip to content

Commit e6a84ca

Browse files
authored
Add link xml file for Crashlytics (#394)
* Add link xml file for Crashlytics Add a link xml file for Crashlytics to prevent symbols from being stripped when using il2cpp * Update readme.md * Update link.xml
1 parent e1a21a8 commit e6a84ca

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

crashlytics/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ endif()
103103

104104
unity_pack_cs(firebase_crashlytics_cs)
105105

106+
# Crashlytics has a special file to prevent il2cpp from stripping symbols.
107+
unity_pack_file(
108+
"link.xml"
109+
PACK_PATH "Firebase/Plugins/Crashlytics"
110+
)
111+
106112
if (FIREBASE_INCLUDE_UNITY)
107113
generate_dependencies_xml(Crashlytics
108114
IOS_DEPS

crashlytics/link.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<linker>
2+
<assembly fullname="Firebase.Crashlytics" ignoreIfMissing="1">
3+
<namespace fullname="Firebase.Crashlytics" preserve="all"/>
4+
</assembly>
5+
</linker>

docs/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ Support
155155

156156
Release Notes
157157
-------------
158+
### 9.2.0
159+
- Changes
160+
- Crashlytics: Fix requiring user code to reference Crashlytics when using il2cpp.
161+
158162
### 9.1.0
159163
- Changes
160164
- General: Added a missing namespace to the Google.MiniJson.dll.

0 commit comments

Comments
 (0)