Skip to content

Commit d3db624

Browse files
authored
fix: Import @DoNotStrip (#770)
<!-- Please provide enough information so that others can review your pull request. --> <!-- Keep pull requests small and focused on a single change. --> ### Summary - Fixes #768 <!-- What existing problem does the pull request solve? Can you solve the issue with a different approach? --> ### Test plan <!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. -->
1 parent 1fde128 commit d3db624

File tree

1 file changed

+2
-0
lines changed
  • packages/create-react-native-library/templates/nitro-module/android/src/main/java/com/margelo/nitro/{%- project.package_dir %}

1 file changed

+2
-0
lines changed

packages/create-react-native-library/templates/nitro-module/android/src/main/java/com/margelo/nitro/{%- project.package_dir %}/{%- project.name %}.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
package com.margelo.nitro.<%- project.package %>
2+
3+
import com.facebook.proguard.annotations.DoNotStrip
24

35
@DoNotStrip
46
class <%- project.name %> : Hybrid<%- project.name %>Spec() {

0 commit comments

Comments
 (0)