File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ static string ResolveOneSignalXCFrameworkVersion()
203203
204204 var dependenciesFile = File . ReadAllText ( dependenciesFilePath ) ;
205205 var dependenciesRegex = new Regex (
206- "(?<=<iosPod name=\" OneSignalXCFramework\" version=\" ). +(?=\" addToAllTargets=\" true\" />)"
206+ "(?<=<iosPod name=\" OneSignalXCFramework\" version=\" )[^ \" ] +(?=\" addToAllTargets=\" true\" />)"
207207 ) ;
208208
209209 if ( ! dependenciesRegex . IsMatch ( dependenciesFile ) )
Original file line number Diff line number Diff line change @@ -24,10 +24,18 @@ private void OnEnable()
2424 var appBar = new VisualElement ( ) ;
2525 appBar . AddToClassList ( "app-bar" ) ;
2626
27- var backButton = new Button ( ( ) => SceneManager . LoadScene ( "Main" ) ) ;
27+ void GoBack ( ) => SceneManager . LoadScene ( "Main" ) ;
28+ var backButton = new Button ( GoBack ) ;
2829 backButton . name = "back_button" ;
2930 backButton . text = MaterialIcons . ArrowBack ;
3031 backButton . AddToClassList ( "back-button" ) ;
32+ #if UNITY_ANDROID && ! UNITY_EDITOR
33+ OneSignalDemo . Services . AccessibilityBridge . RegisterE2ETapTarget (
34+ backButton ,
35+ ( ) => backButton . enabledInHierarchy ,
36+ GoBack
37+ ) ;
38+ #endif
3139 appBar . Add ( backButton ) ;
3240
3341 var title = new Label ( "Secondary Screen" ) ;
You can’t perform that action at this time.
0 commit comments