Skip to content

Commit 5e304ae

Browse files
committed
Add logic to the Android packaging for the messaging aar
1 parent 2344398 commit 5e304ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_scripts/android/package.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,9 @@ for product in ${product_list[*]}; do
5353
done
5454
# Copy the top-level Proguard files in as well.
5555
cp -f "${sourcepath}/${product}/build/Release/${product}.pro" "${destpath}/libs/android/"
56+
# Copy the special messaging aar file, but only if messaging was built.
57+
if [[ "${product}" == "messaging" ]]; then
58+
cp -f "${sourcepath}/messaging/messaging_java/build/outputs/aar/messaging_java-release.aar" "${destpath}/libs/android/firebase_messaging_cpp.aar"
59+
fi
5660
done
5761
cd "${origpath}"

0 commit comments

Comments
 (0)